home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!charon.amdahl.com!pacbell.com!mips!swrinde!elroy.jpl.nasa.gov!ames!data.nas.nasa.gov!mustang.mst6.lanl.gov!ucsbcsl!spox!mg
- From: mg@spox.spectron (Mark Grosen)
- Newsgroups: comp.os.ms-windows.programmer.misc
- Subject: Problem with dialog as main window
- Keywords: windows,dialog,petzold
- Message-ID: <108@spox.spectron>
- Date: 19 Aug 92 05:52:12 GMT
- Distribution: na
- Organization: Spectron MicroSystems, Inc., Santa Barbara, CA
- Lines: 22
-
-
- Sorry for a repeat question, but I did not see a reply to an earlier posting
- about this problem. I, too, am trying out the "hexcalc" program from the
- original Petzold book. This app just does a CreateDialog() to make its main
- window. Well, the code no longer seems to work under 3.1. I can't find a
- newer version of Petzold at the moment (all the bookstores are waiting for
- Ed. 3), so I can't check out if he changed the code. I got a note from MS
- detailing how to create a main window and then fill it with a dialog box as
- a child, but Petzold's method is simpler.
-
- Please email any suggestions.
-
- Thanks.
-
- Mark
- mg%spox@hub.ucsb.edu
- ...!hub.ucsb.edu!spox!mg
- --
- Mark D. Grosen
- Spectron MicroSystems Internet: mg%spox@hub.ucsb.edu
- 5266 Hollister Avenue (805) 967-0503 (Voice)
- Santa Barbara, CA 93111 (805) 683-4995 (FAX)
-