Click here to Skip to main content
15,921,660 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Question about several popular sleep methods. Pin
Johnny ²6-Oct-03 1:14
Johnny ²6-Oct-03 1:14 
GeneralRe: Question about several popular sleep methods. Pin
George26-Oct-03 16:39
George26-Oct-03 16:39 
Generalerror Pin
R. Thomas4-Oct-03 18:56
R. Thomas4-Oct-03 18:56 
GeneralRe: error Pin
Dominik Reichl4-Oct-03 23:02
Dominik Reichl4-Oct-03 23:02 
GeneralRe: error Pin
R. Thomas5-Oct-03 0:03
R. Thomas5-Oct-03 0:03 
QuestionCalculating window size based on bitmap and titlebar/border? Pin
Kayembi4-Oct-03 15:53
Kayembi4-Oct-03 15:53 
AnswerRe: Calculating window size based on bitmap and titlebar/border? Pin
Michael Dunn4-Oct-03 16:53
sitebuilderMichael Dunn4-Oct-03 16:53 
GeneralRe: Calculating window size based on bitmap and titlebar/border? Pin
PJ Arends4-Oct-03 16:57
professionalPJ Arends4-Oct-03 16:57 
GeneralRe: Calculating window size based on bitmap and titlebar/border? Pin
Michael Dunn4-Oct-03 17:08
sitebuilderMichael Dunn4-Oct-03 17:08 
GeneralRe: Calculating window size based on bitmap and titlebar/border? Pin
Kayembi5-Oct-03 3:43
Kayembi5-Oct-03 3:43 
AnswerRe: Calculating window size based on bitmap and titlebar/border? Pin
PJ Arends4-Oct-03 16:55
professionalPJ Arends4-Oct-03 16:55 
GeneralRe: Calculating window size based on bitmap and titlebar/border? Pin
J. Dunlap4-Oct-03 16:57
J. Dunlap4-Oct-03 16:57 
GeneralRegistry code refuses to work for no reason, help! Pin
Steven M Hunt4-Oct-03 14:22
Steven M Hunt4-Oct-03 14:22 
GeneralRe: Registry code refuses to work for no reason, help! Pin
Michael Dunn4-Oct-03 16:56
sitebuilderMichael Dunn4-Oct-03 16:56 
QuestionKazaa searchresult ctrl?? Pin
Stefan Dahlin4-Oct-03 14:04
Stefan Dahlin4-Oct-03 14:04 
GeneralNetwork interface Pin
Florin Ochiana4-Oct-03 12:17
Florin Ochiana4-Oct-03 12:17 
GeneralRe: Network interface Pin
Max Santos5-Oct-03 5:12
Max Santos5-Oct-03 5:12 
GeneralPRINTING -VC++ Pin
radha vijay4-Oct-03 9:11
radha vijay4-Oct-03 9:11 
GeneralRe: PRINTING -VC++ Pin
LunaticFringe4-Oct-03 22:26
LunaticFringe4-Oct-03 22:26 
GeneralRe: PRINTING -VC++ Pin
radha vijay6-Oct-03 14:18
radha vijay6-Oct-03 14:18 
GeneralKey accelerators Pin
BoudewijnEctor4-Oct-03 5:53
BoudewijnEctor4-Oct-03 5:53 
GeneralRe: Key accelerators Pin
Mike Dimmick4-Oct-03 7:48
Mike Dimmick4-Oct-03 7:48 
GeneralTimers in MFC Pin
BoudewijnEctor4-Oct-03 5:41
BoudewijnEctor4-Oct-03 5:41 
GeneralRe: Timers in MFC Pin
NewHSKid4-Oct-03 5:46
NewHSKid4-Oct-03 5:46 
GeneralRe: Timers in MFC Pin
Mike Dimmick4-Oct-03 7:50
Mike Dimmick4-Oct-03 7:50 
Sleep is a blocking call. No Windows messages can be processed while your thread is blocked. This means that the rest of the user interface will be very unresponsive.

If you don't need the timer to be very accurate, use SetTimer to have Windows send you a message when a timer expires.

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.