Click here to Skip to main content
15,914,419 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Questiona few different problems Pin
gr8coaster3295-Nov-05 11:31
gr8coaster3295-Nov-05 11:31 
AnswerRe: a few different problems Pin
Gary R. Wheeler6-Nov-05 2:06
Gary R. Wheeler6-Nov-05 2:06 
Questioncombox question Pin
kevincwong5-Nov-05 10:39
kevincwong5-Nov-05 10:39 
AnswerRe: combox question Pin
BadKarma5-Nov-05 12:27
BadKarma5-Nov-05 12:27 
GeneralRe: combox question Pin
kevincwong5-Nov-05 16:52
kevincwong5-Nov-05 16:52 
Questionopen gl Pin
lrola5-Nov-05 9:52
lrola5-Nov-05 9:52 
QuestionDo Other Processing (GUI Loop) Pin
Grahamfff5-Nov-05 9:51
Grahamfff5-Nov-05 9:51 
AnswerRe: Do Other Processing (GUI Loop) Pin
PJ Arends5-Nov-05 17:11
professionalPJ Arends5-Nov-05 17:11 
Putting your loop in a worker thread is usually the best way. Otherwise you have to check the message queue at regular intervals in your loop so that the GUI can handle the messages. If you are using MFC then a call to AfxGetApp()->PumpMessage() will do the trick. If not using MFC then you have to place calls to PeekMessage, TranslateMessage, and DispatchMessage. See http://www.codeproject.com/threads/usingworkerthreads.asp[^].



"You're obviously a superstar." - Christian Graus about me - 12 Feb '03

"Obviously ???  You're definitely a superstar!!!" - mYkel - 21 Jun '04

"There's not enough blatant self-congratulatory backslapping in the world today..." - HumblePie - 21 Jun '05

Within you lies the power for good - Use it!
QuestionMultiple Forms in MS VC++ Pin
Tom Sapp5-Nov-05 9:15
Tom Sapp5-Nov-05 9:15 
AnswerRe: Multiple Forms in MS VC++ Pin
gr8coaster3295-Nov-05 11:21
gr8coaster3295-Nov-05 11:21 
GeneralRe: Multiple Forms in MS VC++ Pin
Tom Sapp5-Nov-05 13:11
Tom Sapp5-Nov-05 13:11 
QuestionHow do instant messangers work? Pin
JWood5-Nov-05 8:47
JWood5-Nov-05 8:47 
AnswerRe: How do instant messangers work? Pin
ThatsAlok6-Nov-05 19:58
ThatsAlok6-Nov-05 19:58 
QuestionImage Editor/Circular Images Pin
billiam9045-Nov-05 8:11
billiam9045-Nov-05 8:11 
AnswerRe: Image Editor/Circular Images Pin
JWood5-Nov-05 8:49
JWood5-Nov-05 8:49 
QuestionGotFocus on TabCtrl Pin
Ger Hayden5-Nov-05 5:52
Ger Hayden5-Nov-05 5:52 
AnswerRe: GotFocus on TabCtrl Pin
PJ Arends5-Nov-05 9:17
professionalPJ Arends5-Nov-05 9:17 
QuestionStrange prob with Socket CAsyncSocket Pin
Stan the man5-Nov-05 1:54
Stan the man5-Nov-05 1:54 
GeneralRe: Strange prob with Socket CAsyncSocket Pin
Ghasrfakhri6-Nov-05 5:17
Ghasrfakhri6-Nov-05 5:17 
QuestionCRichEditCtrl strings Pin
laiju5-Nov-05 1:34
laiju5-Nov-05 1:34 
QuestionMC++ null keyword Pin
Joel Holdsworth5-Nov-05 0:24
Joel Holdsworth5-Nov-05 0:24 
AnswerRe: MC++ null keyword Pin
toxcct5-Nov-05 0:53
toxcct5-Nov-05 0:53 
GeneralRe: MC++ null keyword Pin
Joel Holdsworth5-Nov-05 0:59
Joel Holdsworth5-Nov-05 0:59 
GeneralRe: MC++ null keyword Pin
S. Senthil Kumar5-Nov-05 1:16
S. Senthil Kumar5-Nov-05 1:16 
QuestionProblems after installing Visual Studio 2005 [FIXED] Pin
ddmcr4-Nov-05 23:32
ddmcr4-Nov-05 23:32 

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.