home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.os.ms-windows.programmer.misc
- Path: sparky!uunet!usc!sol.ctr.columbia.edu!emory!swrinde!cs.utexas.edu!torn!nott!emr1!jagrant
- From: jagrant@emr1.emr.ca (John Grant)
- Subject: messages from ComboBox
- Message-ID: <1992Nov23.003134.4007@emr1.emr.ca>
- Organization: Energy, Mines, and Resources, Ottawa
- Date: Mon, 23 Nov 1992 00:31:34 GMT
- Lines: 15
-
- I have a dialog box with several simple combo-boxes with read-only
- drop-down lists (i.e. if I click on a selection it pops up to the top as
- the selected item).
-
- *During* the dialog, do I have to process messages received from the
- combo-boxes, i.e. do I have to:
- index=(int)SendDlgItemMessage(hdlg,id,CB_GETCURSEL,0);
- to get the current selection or is it sufficient to just retrieve them all
- (for each combo-box) at the end when OK is selected? It doesn't seem
- necessary to respond *during* the dialog, since the combo-box will pick the
- selection and copy it to the top line as 'selected'.
- --
- John A. Grant jagrant@emr1.emr.ca
- Airborne Geophysics
- Geological Survey of Canada, Ottawa
-