home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.os.ms-windows.programmer.misc
- Path: 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
-
-
- 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
-