Path: 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 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)