Thread View: comp.os.ms-windows.programmer.tools
1 messages
1 total messages
Started by martinher
Mon, 11 Jan 1993 01:39
Help with ComboBox Add or InsertString
Author: martinher
Date: Mon, 11 Jan 1993 01:39
Date: Mon, 11 Jan 1993 01:39
18 lines
1176 bytes
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
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads