Click here to Skip to main content
15,919,132 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: using AfxMessageBox Pin
act_x26-Jan-05 10:28
act_x26-Jan-05 10:28 
GeneralRe: using AfxMessageBox Pin
David Crow26-Jan-05 10:38
David Crow26-Jan-05 10:38 
GeneralWM_TIMER in a UI thread Pin
Tom Wright26-Jan-05 9:34
Tom Wright26-Jan-05 9:34 
GeneralRe: WM_TIMER in a UI thread Pin
David Crow26-Jan-05 9:50
David Crow26-Jan-05 9:50 
GeneralRe: WM_TIMER in a UI thread Pin
Tom Wright26-Jan-05 10:11
Tom Wright26-Jan-05 10:11 
GeneralRe: WM_TIMER in a UI thread Pin
David Crow26-Jan-05 10:15
David Crow26-Jan-05 10:15 
GeneralRe: WM_TIMER in a UI thread Pin
Tom Wright26-Jan-05 10:17
Tom Wright26-Jan-05 10:17 
GeneralRe: WM_TIMER in a UI thread Pin
Tom Wright26-Jan-05 10:27
Tom Wright26-Jan-05 10:27 
Let me ask you this. According to the MSDN is says that the hWnd is

Handle to the window to be associated with the timer. This window must be owned by the calling thread. If this parameter is NULL, no window is associated with the timer and the nIDEvent parameter is ignored.

My thread does not have a window associates to it. And I need for SetTimer to look at the nIDEvent parameter because I have three timers doing three different things.

Can I just pass the handle from my main app and still have the timer work in my UI thread?

Thanks

Tom Wright
tawright915@yahoo.com
GeneralDirectX and OpenGL question Pin
Anonymous26-Jan-05 9:32
Anonymous26-Jan-05 9:32 
GeneralReading checkboxes in excel spreadsheet Pin
shultas26-Jan-05 9:18
shultas26-Jan-05 9:18 
GeneralRe: Converting text to float (MFC) Pin
Tom Wright26-Jan-05 9:15
Tom Wright26-Jan-05 9:15 
GeneralRetrieving number of directories Pin
FayezElFar26-Jan-05 8:55
FayezElFar26-Jan-05 8:55 
GeneralRe: Retrieving number of directories Pin
David Crow26-Jan-05 9:44
David Crow26-Jan-05 9:44 
GeneralRe: Retrieving number of directories Pin
FayezElFar26-Jan-05 10:12
FayezElFar26-Jan-05 10:12 
GeneralRe: Retrieving number of directories Pin
David Crow26-Jan-05 10:18
David Crow26-Jan-05 10:18 
GeneralRe: Retrieving number of directories Pin
FayezElFar26-Jan-05 10:29
FayezElFar26-Jan-05 10:29 
GeneralRe: Retrieving number of directories Pin
David Crow26-Jan-05 10:41
David Crow26-Jan-05 10:41 
GeneralRe: Retrieving number of directories Pin
JKallen26-Jan-05 12:42
JKallen26-Jan-05 12:42 
GeneralRe: Retrieving number of directories Pin
FayezElFar27-Jan-05 5:01
FayezElFar27-Jan-05 5:01 
GeneralCannot covert parameter - __stdcall Pin
User 137680026-Jan-05 8:41
User 137680026-Jan-05 8:41 
GeneralRe: Cannot covert parameter - __stdcall Pin
David Crow26-Jan-05 9:48
David Crow26-Jan-05 9:48 
GeneralRe: Cannot covert parameter - __stdcall Pin
User 137680026-Jan-05 10:21
User 137680026-Jan-05 10:21 
GeneralRe: Cannot covert parameter - __stdcall Pin
trelliot27-Jan-05 18:23
trelliot27-Jan-05 18:23 
GeneralSplitter window title Pin
mdave26-Jan-05 7:55
mdave26-Jan-05 7:55 
GeneralRe: Splitter window title Pin
Tom Wright26-Jan-05 9:25
Tom Wright26-Jan-05 9:25 

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.