home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / os / mswindo / programm / misc / 4276 < prev    next >
Encoding:
Text File  |  1992-12-16  |  1.5 KB  |  36 lines

  1. Newsgroups: comp.os.ms-windows.programmer.misc
  2. Path: sparky!uunet!usc!elroy.jpl.nasa.gov!sdd.hp.com!caen!uwm.edu!linac!uchinews!quads!srao
  3. From: srao@quads.uchicago.edu (Shanta Rao)
  4. Subject: controls in dialog boxes
  5. Message-ID: <1992Dec16.161057.11842@midway.uchicago.edu>
  6. Sender: news@uchinews.uchicago.edu (News System)
  7. Reply-To: srao@midway.uchicago.edu
  8. Organization: University of Chicago Computing Organizations
  9. Date: Wed, 16 Dec 1992 16:10:57 GMT
  10. Lines: 24
  11.  
  12.  Question: In a dialog box with several different type of controls like -
  13.        edit controls, radio buttons, list boxes, how does one find 
  14.            out what the user might have choosen?
  15.  
  16.  As in other standard dialog(s), the only way to exit is by choosing "OK" or
  17.  "CANCEL" buttons, at the beginning i was taking care of updating all the 
  18.  fields in the dialog as soon as the user hits OK, but then i realised that
  19.  (s)/he might not want to use all the fields in the dialog -- right? 
  20.  
  21.  I have tried the following: for a edit control type when the one tries to
  22.  change the value (EN_CHANGE message) i set the flag, but apparently this flag 
  23.  being set every time i enter the dialog -- why is this happening? 'm i missing
  24.  something ? What should i do if user clicks in that region?
  25.  
  26.  Hope the problem is clear. If anybody have any ideas/ suggestions for this,
  27.  please send me an e-mail
  28.  
  29.  Thanks 
  30.  
  31. bs/- 
  32. -- 
  33. -----------------------------------------------------------------------
  34. srao@quads.uchicago.edu                                 _ . /|
  35.                                                         \'o.O'
  36.