Article View: comp.windows.ms.programmer
Article #1149Re: Dialog Boxes
From: Alan Phillips
Date: Fri, 25 Jan 1991 17:53
Date: Fri, 25 Jan 1991 17:53
8 lines
935 bytes
935 bytes
In article <1120@bjcong.bj.co.uk> rkt@bjcong.bj.co.uk (RAKESH TANDON) writes: >Instead of doing a CreateWindow call do a CreateDialog call, This create >the Dialog box as the main window. The process is fully covered in Petzold's book Programming Windows, where he shows how to write a hex calculator as a dialog box. (In edition 1, he omits the essential step of using DLGWNDEXTRA to get extra space in the window control struct)
Technical Details
Message-ID:
<1171@dcl-vitus.comp.lancs.ac.uk>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!spool2.mu.edu!uunet!mcsun!ukc!dcl-cs!alanReferences:
<11395@darkstar.ucsc.edu> <1120@bjcong.bj.co.uk>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!spool2.mu.edu!uunet!mcsun!ukc!dcl-cs!alan From: alan@comp.lancs.ac.uk (Alan Phillips) Newsgroups: comp.windows.ms.programmer Subject: Re: Dialog Boxes Message-ID: <1171@dcl-vitus.comp.lancs.ac.uk> Date: 25 Jan 91 17:53:08 GMT References: <11395@darkstar.ucsc.edu> <1120@bjcong.bj.co.uk> Reply-To: alan@comp.lancs.ac.uk (Alan Phillips) Organization: Department of Computing at Lancaster University, UK. Lines: 8