home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / os / mswindo / programm / tools / 1977 < prev    next >
Encoding:
Text File  |  1993-01-11  |  1.1 KB  |  30 lines

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