Click here to Skip to main content
16,004,587 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Free C++ beautifier? Pin
ndalal13-Apr-04 8:06
ndalal13-Apr-04 8:06 
GeneralEnhanced Metafile in CRichEditCtrl Pin
Slagter13-Apr-04 3:44
Slagter13-Apr-04 3:44 
GeneralRPC with ncacn_http protocol sequence Pin
Anonymous13-Apr-04 3:27
Anonymous13-Apr-04 3:27 
GeneralEjecting Win2k USB Drive Cleanly Pin
RalphHHallJr13-Apr-04 2:59
RalphHHallJr13-Apr-04 2:59 
GeneralPause Pin
Anonymous13-Apr-04 2:29
Anonymous13-Apr-04 2:29 
GeneralRe: Pause Pin
Hesham Amin13-Apr-04 2:38
Hesham Amin13-Apr-04 2:38 
GeneralRe: Pause Pin
Anonymous13-Apr-04 3:07
Anonymous13-Apr-04 3:07 
GeneralRe: Pause Pin
Cedric Moonen13-Apr-04 3:23
Cedric Moonen13-Apr-04 3:23 
No, with the sleep, this is just the current Thread that is paused. What you want is something that will 'exit' your function to enable processing of normal messages and then 'come back' at the point you left the function (it's what I've understood by your response).
The best way is to use Timers. At a point in your program, you set a timer. And when the timer fires, it will call a function and there you can continue the process.
take a look at the MSDN doc for the SetTimer function.

Hope this helps
GeneralRe: Pause Pin
Anonymous13-Apr-04 3:39
Anonymous13-Apr-04 3:39 
GeneralRe: Pause Pin
Cedric Moonen13-Apr-04 3:40
Cedric Moonen13-Apr-04 3:40 
GeneralRe: Pause Pin
JeabJB13-Apr-04 4:17
JeabJB13-Apr-04 4:17 
GeneralSet icon in CDialog Pin
anderslundsgard13-Apr-04 2:08
anderslundsgard13-Apr-04 2:08 
GeneralRe: Set icon in CDialog Pin
gUrM33T13-Apr-04 2:34
gUrM33T13-Apr-04 2:34 
GeneralRe: Set icon in CDialog Pin
anderslundsgard13-Apr-04 2:51
anderslundsgard13-Apr-04 2:51 
GeneralLogic Problem with array value assigning Pin
JHAKAS13-Apr-04 1:41
JHAKAS13-Apr-04 1:41 
GeneralRe: Logic Problem with array value assigning Pin
JHAKAS13-Apr-04 19:46
JHAKAS13-Apr-04 19:46 
QuestionTheme with MFC – Possible? Pin
anderslundsgard13-Apr-04 1:12
anderslundsgard13-Apr-04 1:12 
GeneralForm Width Pin
uus9913-Apr-04 1:12
uus9913-Apr-04 1:12 
GeneralRe: Form Width Pin
gUrM33T13-Apr-04 2:02
gUrM33T13-Apr-04 2:02 
GeneralRe: Form Width Pin
uus9914-Apr-04 2:13
uus9914-Apr-04 2:13 
GeneralURGENT:Redrawing Pin
stelitsisan13-Apr-04 1:00
stelitsisan13-Apr-04 1:00 
GeneralRe: URGENT:Redrawing Pin
wb13-Apr-04 2:05
wb13-Apr-04 2:05 
GeneralWMI errors in VC7 Pin
roadragedave13-Apr-04 0:02
roadragedave13-Apr-04 0:02 
GeneralRe: WMI errors in VC7 Pin
Anthony_Yio13-Apr-04 0:22
Anthony_Yio13-Apr-04 0:22 
GeneralRe: WMI errors in VC7 Pin
roadragedave13-Apr-04 1:34
roadragedave13-Apr-04 1: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.