Re: entering a function after dialog is displayed
This is one of the reasons I really love MFC. I wouldn't want to have to go
through all the trouble listed on that website just to do something as
simple as calling a function when the dialog opens...
Tom
"David Ching" <dc@remove-this.dcsoft.com> wrote in message
news:f8bPi.3939$y21.1182@newssvr19.news.prodigy.net...
"David Wilkinson" <no-reply@effisols.com> wrote in message
news:O1hOe33CIHA.1168@TK2MSFTNGP02.phx.gbl...
Anthony Wieser wrote:
See Raymond Chen's excellent blog here:
http://blogs.msdn.com/oldnewthing/archive/2006/09/25/770536.aspx
for answers to this, and many other perplexing questions.
Anthony:
That's interesting. I'm not sure I've ever done it, but is this saying
that the PostMessage() method I suggested does not work?
Maybe it works in MFC because modal dialogs are not really modal dialogs?
Or maybe it never works ...
I've always simply done PostMessage(), and it worked fine for me too.
-- David