Article View: comp.windows.ms.programmer
Article #1281Re: WM_INITDIALOG, lack of
From: Gary Hill
Date: Sat, 09 Feb 1991 15:24
Date: Sat, 09 Feb 1991 15:24
17 lines
1263 bytes
1263 bytes
In <1176@dcl-vitus.comp.lancs.ac.uk> alan@comp.lancs.ac.uk (Alan Phillips) writes: >Simple question: I'm using CreateDialog to set up the main (only) window >of a program, having set up the dialog box with a subclass using the >Whitewater Toolkit. I need to do various things like fill list boxes >to start things off, so I put in code to handle WM_INITDIALOG. But - >I never get the message. Does this message get sent only to dialog boxes that >use the standard dialog proc? How else can I do initialisation stuff? (currently >I send a private message to the window after CreateDialog comes back). If I remember correctly, without checking my own code, if you create a ne class for a dialog box, you don't get a WM_INITDIALOG, but you do get a WM_CREATE message. Hope this helps. Gary Hill, gjh@uk.ac.soton.ecs
Technical Details
Message-ID:
<6629@ecs.soton.ac.uk>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sun-barr!apple!julius.cs.uiuc.edu!usc!sdd.hp.com!spool.mu.edu!uunet!mcsun!ukc!icdoc!sot-ecs!gjhReferences:
<1176@dcl-vitus.comp.lancs.ac.uk>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sun-barr!apple!julius.cs.uiuc.edu!usc!sdd.hp.com!spool.mu.edu!uunet!mcsun!ukc!icdoc!sot-ecs!gjh From: gjh@ecs.soton.ac.uk (Gary Hill) Newsgroups: comp.windows.ms.programmer Subject: Re: WM_INITDIALOG, lack of Message-ID: <6629@ecs.soton.ac.uk> Date: 9 Feb 91 15:24:31 GMT References: <1176@dcl-vitus.comp.lancs.ac.uk> Sender: news@ecs.soton.ac.uk Lines: 17