Apr 7, 2004 #1 d00ape Programmer Apr 2, 2003 171 SE I’m geting a runtime-error when calling: m_myDialog.Create( IDD_RECOURCEDIALOG, this ); in my ActiveX Ctrl OnCreate(..)-method "m_myDialog" is an Dialoge-recource which I have as a private member of my ActiveX-Ctrl-class Tanks - Anders APe
I’m geting a runtime-error when calling: m_myDialog.Create( IDD_RECOURCEDIALOG, this ); in my ActiveX Ctrl OnCreate(..)-method "m_myDialog" is an Dialoge-recource which I have as a private member of my ActiveX-Ctrl-class Tanks - Anders APe
Apr 7, 2004 #2 apatterno Programmer Nov 26, 2002 368 US OnCreate is called just before the control is created You mustn't pass the "this" pointer to create a child dialog, until the control has been created. Also I'm not sure about the ramifications of making a dialog a child of a control. Perhaps it isn't right? I REALLY hope that helps. Will Upvote 0 Downvote
OnCreate is called just before the control is created You mustn't pass the "this" pointer to create a child dialog, until the control has been created. Also I'm not sure about the ramifications of making a dialog a child of a control. Perhaps it isn't right? I REALLY hope that helps. Will
Apr 7, 2004 Thread starter #3 d00ape Programmer Apr 2, 2003 171 SE OK. Thanks But now I realy myst create mu CDialog as a child of mycontroll. Any suggestion in which function of my control to create it. Upvote 0 Downvote
OK. Thanks But now I realy myst create mu CDialog as a child of mycontroll. Any suggestion in which function of my control to create it.