Article View: comp.os.ms-windows.programmer.misc
Article #1953controls in dialog boxes
From: Shanta Rao
Date: Wed, 16 Dec 1992 16:10
Date: Wed, 16 Dec 1992 16:10
24 lines
1607 bytes
1607 bytes
Question: In a dialog box with several different type of controls like -
edit controls, radio buttons, list boxes, how does one find
out what the user might have choosen?
As in other standard dialog(s), the only way to exit is by choosing "OK" or
"CANCEL" buttons, at the beginning i was taking care of updating all the
fields in the dialog as soon as the user hits OK, but then i realised that
(s)/he might not want to use all the fields in the dialog -- right?
I have tried the following: for a edit control type when the one tries to
change the value (EN_CHANGE message) i set the flag, but apparently this flag
being set every time i enter the dialog -- why is this happening? 'm i missing
something ? What should i do if user clicks in that region?
Hope the problem is clear. If anybody have any ideas/ suggestions for this,
please send me an e-mail
Thanks
bs/-
--
-----------------------------------------------------------------------
srao@quads.uchicago.edu _ . /|
\'o.O'
Technical Details
Message-ID:
<1992Dec16.161057.11842@midway.uchicago.edu>Path:
arc1-ca.pugleaf.net!sparky!uunet!usc!elroy.jpl.nasa.gov!sdd.hp.com!caen!uwm.edu!linac!uchinews!quads!sraoShow Full Headers
Complete Article Headers
Newsgroups: comp.os.ms-windows.programmer.misc Path: arc1-ca.pugleaf.net!sparky!uunet!usc!elroy.jpl.nasa.gov!sdd.hp.com!caen!uwm.edu!linac!uchinews!quads!srao From: srao@quads.uchicago.edu (Shanta Rao) Subject: controls in dialog boxes Message-ID: <1992Dec16.161057.11842@midway.uchicago.edu> Sender: news@uchinews.uchicago.edu (News System) Reply-To: srao@midway.uchicago.edu Organization: University of Chicago Computing Organizations Date: Wed, 16 Dec 1992 16:10:57 GMT Lines: 24