Re: WTL AppWizards don't UIUpdateChildWindows(); line to CMainDlg::OnIdle()...

Jim Barry <[email protected]> Thu, 9 Jun 2011 14:33:06 +0100
Newsgroups gmane.comp.windows.wtl
Message-ID <[email protected]>
On 8 June 2011 20:42, Richard B. <dj_deipotent-/[email protected]> wrote:
>
> I've been going through Michael Dunn's WTL for MFC tutorial from
> CodeProject, and in Part V it mentions that there is a bug where
> AppWizard doesn't add this line, so you have to manually add it.
>
> The fix is easy as it's just a matter of adding the line
> UIUpdateChildWindows(); to OnIdle() in
> wtl\Wizards\AppWiz\Files\Templates\1033\MainDlg.cpp , but I'm not sure
> how to submit this change so it's committed to the trunk ?
>
> What are people's thoughts on changing this ?

I agree - seeing as the wizard code contains a call to
UIAddChildWindowContainer(), it seems remiss for it not to include a
corresponding call to UIUpdateChildWindows().

If there are no objections, I can check this in.

- Jim


------------------------------------

Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/wtl/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/wtl/join
    (Yahoo! ID required)

<*> To change settings via email:
    [email protected] 
    [email protected]

<*> To unsubscribe from this group, send an email to:
    [email protected]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/