Click here to Skip to main content
15,897,891 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: SetTimer Pin
Erudite_Eric1-Nov-11 4:48
Erudite_Eric1-Nov-11 4:48 
GeneralRe: SetTimer Pin
Chuck O'Toole1-Nov-11 5:11
Chuck O'Toole1-Nov-11 5:11 
GeneralRe: SetTimer Pin
Erudite_Eric1-Nov-11 6:43
Erudite_Eric1-Nov-11 6:43 
GeneralRe: SetTimer Pin
Chuck O'Toole1-Nov-11 7:51
Chuck O'Toole1-Nov-11 7:51 
GeneralRe: MSDN:Preventing Hangs in Windows Applications Pin
Goto_Label_1-Nov-11 9:17
Goto_Label_1-Nov-11 9:17 
GeneralRe: MSDN:Preventing Hangs in Windows Applications Pin
Chuck O'Toole1-Nov-11 10:14
Chuck O'Toole1-Nov-11 10:14 
GeneralRe: MSDN:Preventing Hangs in Windows Applications Pin
Erudite_Eric2-Nov-11 7:02
Erudite_Eric2-Nov-11 7:02 
GeneralRe: MSDN:Preventing Hangs in Windows Applications Pin
Chuck O'Toole2-Nov-11 9:16
Chuck O'Toole2-Nov-11 9:16 
One last thing, FYI. That methodology existed as far back as Windows 3.1, long before threading existed in Windows. It was once the only way to do things. It is still applicable for non-threaded GUI applications.

Yes, when threads came along with Windows NT, that would have been a better way to approach things but it's not a absolute requirement nor the solution for every problem.

Anybody who implementes multiple message pumps, presumably in separate threads, is asking for trouble. However, there is an old saying, "Here's the rope....."
GeneralRe: MSDN:Preventing Hangs in Windows Applications Pin
Erudite_Eric2-Nov-11 11:25
Erudite_Eric2-Nov-11 11:25 
Generale: SetTimer Pin
Erudite_Eric1-Nov-11 22:06
Erudite_Eric1-Nov-11 22:06 
GeneralRe: SetTimer Pin
David Crow1-Nov-11 9:29
David Crow1-Nov-11 9:29 
GeneralRe: SetTimer Pin
Chuck O'Toole1-Nov-11 10:16
Chuck O'Toole1-Nov-11 10:16 
AnswerRe: SetTimer Pin
Mark Salsbery31-Oct-11 12:32
Mark Salsbery31-Oct-11 12:32 
GeneralRe: SetTimer Pin
Chuck O'Toole31-Oct-11 12:59
Chuck O'Toole31-Oct-11 12:59 
GeneralRe: SetTimer Pin
Mark Salsbery31-Oct-11 14:48
Mark Salsbery31-Oct-11 14:48 
GeneralRe: SetTimer Pin
Chuck O'Toole31-Oct-11 15:00
Chuck O'Toole31-Oct-11 15:00 
GeneralRe: SetTimer Pin
Erudite_Eric31-Oct-11 21:08
Erudite_Eric31-Oct-11 21:08 
GeneralRe: Thanks!!! Pin
columbos1492731-Oct-11 21:44
columbos1492731-Oct-11 21:44 
AnswerRe: example code with PumpMessages() Pin
App_1-Nov-11 8:53
App_1-Nov-11 8:53 
Questionalternative function for MCIWndCreate API Pin
VCProgrammer31-Oct-11 1:17
VCProgrammer31-Oct-11 1:17 
AnswerRe: alternative function for MCIWndCreate API Pin
Code-o-mat31-Oct-11 2:02
Code-o-mat31-Oct-11 2:02 
Question[SOLVED] Inline assembly syntax error.. Pin
CodingLover30-Oct-11 21:59
CodingLover30-Oct-11 21:59 
AnswerRe: Inline assembly syntax error.. Pin
Malli_S30-Oct-11 22:39
Malli_S30-Oct-11 22:39 
GeneralRe: Inline assembly syntax error.. Pin
CodingLover30-Oct-11 23:41
CodingLover30-Oct-11 23:41 
AnswerRe: Inline assembly syntax error.. Pin
Richard MacCutchan30-Oct-11 23:50
mveRichard MacCutchan30-Oct-11 23:50 

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.