   MFC / WTL: WM_INITDIALOG never arriving :/
  I recently started incorporating WTL CPropertySheetImpl (And Page) into our application to support Aero-style interfaces under Windows Vista and Windows 7. It all works, except I now want to change the appearance of the CPropertySheetImpl itself. For this, I need to catch the WM_INITDIALOG and make the changes to the sheet in any way I like and then it should work.However, I discovered that even tho I map WM_INITDIALOG, the message itself never arrives or gets even sent to the dialog. I have no idea why, because I've seen examples where they used the same method of trapping the WM_INITDIALOG message.BEGIN_MSG_MAP()MSG_WM_INITDIALOG(OnInitDialog)CHAIN_MSG_MAP(WTL::CPropertySheetImpl<CDlgBasic3DWizard>)END_MSG_MAP()Anyone has any idea on what I'm doing wrong or had a similar problem?Toolmaker   
  Are you sure it's actually a dialog? Have you tried WM_CREATE instead?   