Click here to Skip to main content
15,909,530 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: How do I remove a function in ATL ? Pin
Derek Waters16-Sep-01 14:30
Derek Waters16-Sep-01 14:30 
GeneralRe: How do I remove a function in ATL ? Pin
Christian Graus16-Sep-01 14:43
protectorChristian Graus16-Sep-01 14:43 
GeneralRe: How do I remove a function in ATL ? Pin
Derek Waters16-Sep-01 14:45
Derek Waters16-Sep-01 14:45 
GeneralRe: How do I remove a function in ATL ? Pin
Christian Graus16-Sep-01 14:56
protectorChristian Graus16-Sep-01 14:56 
AnswerRe: How do I remove a function in ATL ? Pin
asfas16-Sep-01 23:33
asfas16-Sep-01 23:33 
GeneralScrolling CEdit Pin
Jake Palmer15-Sep-01 11:57
Jake Palmer15-Sep-01 11:57 
GeneralRe: Scrolling CEdit Pin
Paolo Messina15-Sep-01 12:47
professionalPaolo Messina15-Sep-01 12:47 
GeneralCDialog are real time log Pin
15-Sep-01 11:29
suss15-Sep-01 11:29 
Netmeisters,

I am relatively new to Windows programming, so my
apologies if the following problem has an obvious solution.

I would like to use a CEdit control in a CDialog as a log,
recording events that occur during a syncing process over
a network. (As it happens this is for a Pocket PC but I
think the question applies equally to all forms of
Windows). The syncing process should start automatically
as soon as the CDialog is opened, and lines are added to
the CEdit to describe the progress of the sync. Currently
the sync process is invoked by a message handler that
responds to the WM_INITDIALOG message. The problem with
this is that the whole log gets written (ie the CEdit is
completely filled) before the CDialog is displayed, so
that the user gets a log, but can only see it after the
sync is completely done (whereas I'd like him to be able
to follow the sync as it occurs).

My question is, is there another message I could use,
which gets triggered AFTER the CDialog is displayed,
rather than just before? Then all I would have to do is
invoke my sync in a message handler responding to this
message, rather than WM_INITDIALOG.

The only other approach I can think of would require the
creation of a second thread, and I've got to think there
is an easier way.

Your assistance much appreciated,



Matthew Fleming
mgf@mcw.edu
GeneralRe: CDialog are real time log Pin
Paolo Messina15-Sep-01 12:58
professionalPaolo Messina15-Sep-01 12:58 
GeneralIEEE 754 to string Pin
Erik Hammar15-Sep-01 10:50
Erik Hammar15-Sep-01 10:50 
GeneralRe: IEEE 754 to string Pin
Anders Molin15-Sep-01 13:22
professionalAnders Molin15-Sep-01 13:22 
GeneralOffice 2000 Style Report Control Pin
Giles15-Sep-01 8:42
Giles15-Sep-01 8:42 
GeneralDeveloping an NT Service with MFC Pin
mantrashrim14-Sep-01 14:01
mantrashrim14-Sep-01 14:01 
GeneralRe: Developing an NT Service with MFC Pin
Tim Deveaux14-Sep-01 14:14
Tim Deveaux14-Sep-01 14:14 
GeneralRe: Developing an NT Service with MFC Pin
Giles15-Sep-01 8:29
Giles15-Sep-01 8:29 
GeneralRe: Developing an NT Service with MFC Pin
Anders Molin15-Sep-01 9:01
professionalAnders Molin15-Sep-01 9:01 
GeneralRe: Developing an NT Service with MFC Pin
Giles16-Sep-01 11:45
Giles16-Sep-01 11:45 
GeneralRe: Developing an NT Service with MFC Pin
User 988515-Sep-01 11:50
User 988515-Sep-01 11:50 
GeneralRe: Developing an NT Service with MFC Pin
mantrashrim17-Sep-01 5:38
mantrashrim17-Sep-01 5:38 
GeneralHotkey problem Pin
User 988514-Sep-01 11:09
User 988514-Sep-01 11:09 
GeneralBringWindowToTop Pin
Chris Klecker14-Sep-01 10:43
Chris Klecker14-Sep-01 10:43 
GeneralRe: BringWindowToTop Pin
Paolo Messina15-Sep-01 13:05
professionalPaolo Messina15-Sep-01 13:05 
GeneralRe: BringWindowToTop Pin
Chris Klecker17-Sep-01 3:38
Chris Klecker17-Sep-01 3:38 
GeneralDynamic bitmap Pin
SnapRick14-Sep-01 9:17
SnapRick14-Sep-01 9:17 
GeneralRe: Dynamic bitmap Pin
Remi Morin14-Sep-01 10:23
Remi Morin14-Sep-01 10:23 

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.