Click here to Skip to main content
15,917,473 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Urgent - ComboBox problem Pin
Le Ridder Noir8-Feb-01 1:51
Le Ridder Noir8-Feb-01 1:51 
GeneralRe: Urgent - ComboBox problem Pin
Le Ridder Noir8-Feb-01 2:00
Le Ridder Noir8-Feb-01 2:00 
GeneralRe: Urgent - ComboBox problem Pin
Le Ridder Noir8-Feb-01 2:00
Le Ridder Noir8-Feb-01 2:00 
GeneralCommand routing/Context Menu problem Pin
Christian Graus7-Feb-01 16:06
protectorChristian Graus7-Feb-01 16:06 
GeneralChanging toolbar background Pin
Christian Graus7-Feb-01 15:28
protectorChristian Graus7-Feb-01 15:28 
GeneralCRicheditView and WYSIWYG page effect Pin
7-Feb-01 13:09
suss7-Feb-01 13:09 
GeneralWaitForSingleObject() Problem!!!!! Pin
Richard Cheng7-Feb-01 11:21
Richard Cheng7-Feb-01 11:21 
GeneralRe: WaitForSingleObject() Problem!!!!! Pin
Erik Funkenbusch7-Feb-01 11:30
Erik Funkenbusch7-Feb-01 11:30 
WaitForSingleObject is a Windows API function. There is no source code for it.

You can't do what you are suggesting. About the closest you could get is to give WaitForSingleObject a timeout value, update the progress bar, then go back to waiting. That is a poor design, however, since your main message pump is locked and if some other window obscures yours, it won't redraw when the window is removed.

You usually want to use WaitForSingleObject in a worker thread, where message pump updates are not a problem.

GeneralRe: WaitForSingleObject() Problem!!!!! Pin
Richard Cheng8-Feb-01 9:10
Richard Cheng8-Feb-01 9:10 
QuestionHow to determine if a user is logged on to the system from a service Pin
7-Feb-01 9:04
suss7-Feb-01 9:04 
AnswerRe: How to determine if a user is logged on to the system from a service Pin
Erik Funkenbusch7-Feb-01 11:34
Erik Funkenbusch7-Feb-01 11:34 
GeneralRe: How to determine if a user is logged on to the system from a service Pin
Joe Moldovan9-Feb-01 11:54
Joe Moldovan9-Feb-01 11:54 
GeneralRedirecting console output Pin
7-Feb-01 7:17
suss7-Feb-01 7:17 
GeneralRe: Redirecting console output Pin
Matt Gullett7-Feb-01 7:42
Matt Gullett7-Feb-01 7:42 
Questionhow to save the all contend of scrollview to a bitmap file Pin
7-Feb-01 5:55
suss7-Feb-01 5:55 
AnswerRe: how to save the all contend of scrollview to a bitmap file Pin
l a u r e n7-Feb-01 6:59
l a u r e n7-Feb-01 6:59 
GeneralRe: how to save the all contend of scrollview to a bitmap file Pin
8-Feb-01 4:54
suss8-Feb-01 4:54 
AnswerRe: how to save the all contend of scrollview to a bitmap file Pin
Chris Losinger7-Feb-01 8:01
professionalChris Losinger7-Feb-01 8:01 
GeneralRe: how to save the all contend of scrollview to a bitmap file Pin
l a u r e n7-Feb-01 9:43
l a u r e n7-Feb-01 9:43 
GeneralRe: how to save the all contend of scrollview to a bitmap file Pin
Chris Losinger7-Feb-01 10:00
professionalChris Losinger7-Feb-01 10:00 
GeneralRe: how to save the all contend of scrollview to a bitmap file Pin
8-Feb-01 4:59
suss8-Feb-01 4:59 
GeneralRe: how to save the all contend of scrollview to a bitmap file Pin
8-Feb-01 4:58
suss8-Feb-01 4:58 
GeneralRe: how to save the all contend of scrollview to a bitmap file Pin
8-Feb-01 5:00
suss8-Feb-01 5:00 
GeneralHELP: Task Scheduler Platform API - Determining missed Tasks Pin
David Birtwell7-Feb-01 1:34
David Birtwell7-Feb-01 1:34 
GeneralSharing XML object over TCP/IP Pin
6-Feb-01 17:34
suss6-Feb-01 17:34 

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.