Article View: comp.os.ms-windows.programmer.misc
Article #1780need help please!
From: Jason Salcido
Date: Mon, 14 Dec 1992 23:46
Date: Mon, 14 Dec 1992 23:46
19 lines
853 bytes
853 bytes
I need help understanding how to instantiate a window class from within another window class method. When I try I know that constructor is run but nothing happens. If I stick the command in the constructor of the first window class it does work. Can someone tell me what I'm doing wrong? for example: (in window class) private: AnotherWindow *A; (in window method) A = new AnotherWindow(this,"Another Window"); please e-mail me with any suggestions. jsalcido@nmsu.edu
Technical Details
Message-ID:
<1992Dec14.234649.21893@nmsu.edu>Path:
arc1-ca.pugleaf.net!sparky!uunet!spool.mu.edu!umn.edu!lynx!nmsu.edu!usenetShow Full Headers
Complete Article Headers
Newsgroups: comp.os.ms-windows.programmer.misc Path: arc1-ca.pugleaf.net!sparky!uunet!spool.mu.edu!umn.edu!lynx!nmsu.edu!usenet From: jsalcido@nmsu.edu (Jason Salcido) Subject: need help please! Message-ID: <1992Dec14.234649.21893@nmsu.edu> Sender: usenet@nmsu.edu Organization: New Mexico State University Date: Mon, 14 Dec 1992 23:46:49 GMT Lines: 19