Click here to Skip to main content
15,906,804 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: how to disable messagebox Pin
David Crow16-Jul-04 2:53
David Crow16-Jul-04 2:53 
AnswerRe: how to disable messagebox Pin
Maximilien16-Jul-04 3:15
Maximilien16-Jul-04 3:15 
AnswerRe: how to disable messagebox Pin
LegolasX17-Jul-04 3:54
LegolasX17-Jul-04 3:54 
GeneralRe: how to disable messagebox Pin
Member 101812818-Jul-04 19:24
Member 101812818-Jul-04 19:24 
QuestionHow to control VobSub in my application to show, hide or shift subtitles? Pin
lakeman200015-Jul-04 23:52
lakeman200015-Jul-04 23:52 
Questionhow to display resources from a .rc or .res file ? Pin
JP GOBLET15-Jul-04 23:14
JP GOBLET15-Jul-04 23:14 
AnswerRe: how to display resources from a .rc or .res file ? Pin
Mayank Goyal16-Jul-04 3:43
Mayank Goyal16-Jul-04 3:43 
GeneralGrabbing "Focus" Pin
jerry0davis15-Jul-04 23:08
jerry0davis15-Jul-04 23:08 
I have a phone application that sits minimized in the system tray. When the handset is lifted, I want the window to be displayed and activated.

Currently I use...

pdlg->SetWindowPos(&wndTopMost, 0, 0, 0, 0, SWP_SHOWWINDOW | SWP_NOSIZE | SWP_NOMOVE);<br />
pdlg->SetForegroundWindow();<br />
pdlg->SetFocus();


If another application is active, when I lift the handset, this code shows the window, and makes the window title bar flash, but does not grab the input focus or activate the application.

Can someone help please? TIA



I feel like I'm diagonally parked in a parallel universe

Jerry Davis
http://www.astad.org
http://www.jvf.co.uk
GeneralRe: Grabbing &quot;Focus&quot; Pin
V.15-Jul-04 23:15
professionalV.15-Jul-04 23:15 
GeneralRe: Grabbing &quot;Focus&quot; Pin
jerry0davis15-Jul-04 23:20
jerry0davis15-Jul-04 23:20 
GeneralRe: Grabbing &quot;Focus&quot; Pin
V.15-Jul-04 23:33
professionalV.15-Jul-04 23:33 
GeneralRe: Grabbing &quot;Focus&quot; Pin
jerry0davis16-Jul-04 0:08
jerry0davis16-Jul-04 0:08 
GeneralRe: Grabbing &quot;Focus&quot; Pin
bikram singh16-Jul-04 23:33
bikram singh16-Jul-04 23:33 
GeneralRe: Grabbing &quot;Focus&quot; Pin
SRV16-Jul-04 4:11
SRV16-Jul-04 4:11 
GeneralRe: Grabbing &quot;Focus&quot; Pin
jerry0davis16-Jul-04 4:37
jerry0davis16-Jul-04 4:37 
GeneralRedraw with (out) scroll bar Pin
V.15-Jul-04 23:08
professionalV.15-Jul-04 23:08 
QuestionHow to setup hotkey in my application to control vobsub Pin
Anonymous15-Jul-04 22:21
Anonymous15-Jul-04 22:21 
GeneralAWS Report for OpenListing Pin
Sumit Kapoor15-Jul-04 21:22
Sumit Kapoor15-Jul-04 21:22 
GeneralRe: AWS Report for OpenListing Pin
Antti Keskinen15-Jul-04 22:21
Antti Keskinen15-Jul-04 22:21 
GeneralAWS Report for OpenListing Pin
Sumit Kapoor15-Jul-04 21:22
Sumit Kapoor15-Jul-04 21:22 
GeneralAWS Report for OpenListing Pin
Sumit Kapoor15-Jul-04 21:21
Sumit Kapoor15-Jul-04 21:21 
QuestionODBC with list box how? Pin
Member 123981315-Jul-04 20:55
Member 123981315-Jul-04 20:55 
AnswerRe: ODBC with list box how? Pin
Sumit Kapoor15-Jul-04 21:16
Sumit Kapoor15-Jul-04 21:16 
GeneralRe: ODBC with list box how? Pin
Member 123981316-Jul-04 5:41
Member 123981316-Jul-04 5:41 
AnswerRe: ODBC with list box how? Pin
David Crow16-Jul-04 2:55
David Crow16-Jul-04 2:55 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.