Click here to Skip to main content
16,018,818 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Generalthx, SOLVED Pin
George Nistor21-Jan-10 3:38
George Nistor21-Jan-10 3:38 
Questionarray of diffrent types - still not usefull Pin
George Nistor21-Jan-10 5:20
George Nistor21-Jan-10 5:20 
QuestionRe: array of diffrent types - still not usefull Pin
CPallini21-Jan-10 7:42
mveCPallini21-Jan-10 7:42 
QuestionRe: array of diffrent types - still not usefull Pin
George Nistor21-Jan-10 19:26
George Nistor21-Jan-10 19:26 
QuestionPeekMessage and DoEvents Pin
HakunaMatada18-Jan-10 2:17
HakunaMatada18-Jan-10 2:17 
AnswerRe: PeekMessage and DoEvents Pin
Covean18-Jan-10 2:33
Covean18-Jan-10 2:33 
AnswerRe: PeekMessage and DoEvents Pin
Cedric Moonen18-Jan-10 3:01
Cedric Moonen18-Jan-10 3:01 
AnswerRe: PeekMessage and DoEvents Pin
Rajesh R Subramanian18-Jan-10 8:49
professionalRajesh R Subramanian18-Jan-10 8:49 
I just looked what the DoEvents call does and it looks functionally similar to the loop you've written. But it's just that in this case you're translating and dispatching the messages yourselves, but in the VB case you'll be transferring control to the OS and it does the thing for you.

If you're going to use such a loop in your code, you may want to consider using a worker thread instead (but that really depends on what exactly are you trying to achieve).


“Follow your bliss.” – Joseph Campbell

GeneralRe: PeekMessage and DoEvents [modified] Pin
Rozis18-Jan-10 11:49
Rozis18-Jan-10 11:49 
GeneralRe: PeekMessage and DoEvents Pin
Rajesh R Subramanian18-Jan-10 19:15
professionalRajesh R Subramanian18-Jan-10 19:15 
GeneralRe: PeekMessage and DoEvents Pin
Rozis19-Jan-10 2:17
Rozis19-Jan-10 2:17 
GeneralRe: PeekMessage and DoEvents Pin
CPallini18-Jan-10 20:58
mveCPallini18-Jan-10 20:58 
Questionwin32 dialog Pin
john563218-Jan-10 1:58
john563218-Jan-10 1:58 
AnswerRe: win32 dialog Pin
Abhi Lahare18-Jan-10 6:16
Abhi Lahare18-Jan-10 6:16 
QuestionThreading Pin
HakunaMatada18-Jan-10 1:48
HakunaMatada18-Jan-10 1:48 
AnswerRe: Threading Pin
Cedric Moonen18-Jan-10 2:08
Cedric Moonen18-Jan-10 2:08 
GeneralRe: Threading Pin
HakunaMatada18-Jan-10 2:11
HakunaMatada18-Jan-10 2:11 
AnswerRe: Threading Pin
Moak18-Jan-10 3:34
Moak18-Jan-10 3:34 
GeneralRe: Threading Pin
HakunaMatada19-Jan-10 1:26
HakunaMatada19-Jan-10 1:26 
QuestionClose A DIalog Pin
john563218-Jan-10 0:58
john563218-Jan-10 0:58 
AnswerRe: Close A DIalog Pin
Code-o-mat18-Jan-10 1:25
Code-o-mat18-Jan-10 1:25 
GeneralRe: Close A DIalog Pin
john563218-Jan-10 1:29
john563218-Jan-10 1:29 
QuestionThread paused Pin
susanne117-Jan-10 23:56
susanne117-Jan-10 23:56 
QuestionRe: Thread paused Pin
CPallini18-Jan-10 0:16
mveCPallini18-Jan-10 0:16 
AnswerRe: Thread paused Pin
susanne118-Jan-10 0:50
susanne118-Jan-10 0: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.