Click here to Skip to main content
15,905,325 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionDownload a file using HTTP? Pin
mahesh24-Aug-00 5:47
mahesh24-Aug-00 5:47 
AnswerRe: Download a file using HTTP? Pin
Michael Dunn24-Aug-00 7:11
sitebuilderMichael Dunn24-Aug-00 7:11 
GeneralRe: Download a file using HTTP? Pin
mahesh24-Aug-00 10:58
mahesh24-Aug-00 10:58 
GeneralTVN_KEYDOWN Pin
Nick Hodapp24-Aug-00 4:17
sitebuilderNick Hodapp24-Aug-00 4:17 
GeneralRe: TVN_KEYDOWN Pin
Nick Hodapp24-Aug-00 6:12
sitebuilderNick Hodapp24-Aug-00 6:12 
GeneralRe: TVN_KEYDOWN Pin
Larry5-Oct-00 7:33
Larry5-Oct-00 7:33 
GeneralProblem to refresh modeless dialog Pin
Cheickna24-Aug-00 3:35
Cheickna24-Aug-00 3:35 
GeneralRe: Problem to refresh modeless dialog Pin
Nick Hodapp24-Aug-00 4:24
sitebuilderNick Hodapp24-Aug-00 4:24 
You need to process waiting Windows messages during your "long processing". If your long processing is a loop, simply add code like this inside the loop:

MSG msg;
while (::PeekMessage(&msg, NULL, 0, 0, PM_REMOVE))
::DispatchMessage(&msg);

This will periodically dispatch waiting messages -- including the WM_PAINT messages that are waiting to be processed for your dialog.

Alternatively, do your "long processing" on a separate thread.

Regards,

Nick Hodapp


GeneralUnicode Character Rendering in 95/98 Pin
Eric Crahen24-Aug-00 1:16
Eric Crahen24-Aug-00 1:16 
GeneralRe: Unicode Character Rendering in 95/98 Pin
Feng Yuan26-Aug-00 19:42
Feng Yuan26-Aug-00 19:42 
Generalhelp me!! Pin
Vasilyev23-Aug-00 22:40
Vasilyev23-Aug-00 22:40 
GeneralRe: help me!! Pin
Steve Driessens24-Aug-00 0:43
Steve Driessens24-Aug-00 0:43 
GeneralRe: help me!! Pin
John Simmons24-Aug-00 0:53
John Simmons24-Aug-00 0:53 
GeneralATL Control Resize Pin
Chris Losinger23-Aug-00 19:25
professionalChris Losinger23-Aug-00 19:25 
GeneralRe: ATL Control Resize Pin
Steven Mitcham31-Aug-00 7:22
Steven Mitcham31-Aug-00 7:22 
QuestionPutting CHTMLView::GetHtmlDocument() in a CString? Pin
James Corrie23-Aug-00 10:01
sussJames Corrie23-Aug-00 10:01 
General** Changing TEXT FILES to Access Tables ** Pin
Steve Lai23-Aug-00 9:23
Steve Lai23-Aug-00 9:23 
GeneralCursor Postition Pin
sunny23-Aug-00 7:27
sunny23-Aug-00 7:27 
GeneralRe: Cursor Postition Pin
#realJSOP23-Aug-00 8:59
professional#realJSOP23-Aug-00 8:59 
GeneralRe: Cursor Postition Pin
Philip Nicoletti23-Aug-00 9:19
Philip Nicoletti23-Aug-00 9:19 
GeneralI know WTL doesn't dock... Pin
Scott Leonard23-Aug-00 6:53
Scott Leonard23-Aug-00 6:53 
GeneralBSTR vs. LPSTR Pin
Jonas23-Aug-00 5:45
Jonas23-Aug-00 5:45 
GeneralRe: BSTR vs. LPSTR Pin
#realJSOP23-Aug-00 6:31
professional#realJSOP23-Aug-00 6:31 
GeneralRe: BSTR vs. LPSTR Pin
Richard Warg23-Aug-00 14:06
Richard Warg23-Aug-00 14:06 
GeneralCString search Pin
sspcmp23-Aug-00 4:37
susssspcmp23-Aug-00 4:37 

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.