🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.ms-windows.programmer.tools
Article #904

Help with ComboBox Add or InsertString

#904
From: martinher
Date: Mon, 11 Jan 1993 01:39
18 lines
1176 bytes
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
Technical Details
Message-ID: <1993Jan11.144402.7464@gossip.urich.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!darwin.sura.net!uvaarpa!gossip.urich.edu!urvax.urich.edu!MARTINHER

Show Full Headers
Complete Article Headers
Newsgroups: comp.os.ms-windows.programmer.tools
Path: arc1-ca.pugleaf.net!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