home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.os.ms-windows.programmer.tools
- Path: sparky!uunet!zaphod.mps.ohio-state.edu!darwin.sura.net!uvaarpa!gossip.urich.edu!urvax.urich.edu!MARTINHER
- From: martinher@urvax.urich.edu
- Subject: Help with ComboBox Add or InsertString
- Message-ID: <1993Jan11.144402.7464@gossip.urich.edu>
- Sender: news@gossip.urich.edu (USENET News System Admin)
- Reply-To: martinher@urvax.urich.edu
- Organization: University of Richmond
- Date: Mon, 11 Jan 1993 01:39:19 GMT
- Lines: 18
-
- I am trying to insert strings into a Combo box during a Dialog
- init message. My ListBoxes work just fine but the same syntax
- with the exception of 'CB_INSERTSTRING' for 'LB_INSERTSTRING'
- does not. I have tried both SendMessage and SendDlgItemMessage
- to no avail. I have tried both -1 (append) and a particular
- location.
- The TurboDebugger shows the code being executed and a valid
- position being returned, tests for CB_ERR and CB_ERRSPACE
- also indicate NO error.
- NOTHING shows up in the combo box controls.
-
- Any suggestions about how to proceed?
-
- I am going to try the 'LB_' messages and see if they have any
- effect. What the heck?
-
- Herb Martin
- martinher@urvax.urich.edu
-