Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
cb clear but keep the "&abcdefg"
#1
Ok i have a code that clears a cb but i dont want it to delete the part that first shows up when you open the dialog that is the cb3 = "&adsasdADSa" part.
Is there a way i can clean the content of the combo box but keep that there please help here is my code i have as of now... im am still trying to get it to leave the cb3 = "&adsasdADSa" part. but maybe someone can get it faster than me...

Code:
Copy      Help
SendMessage id(3 hDlg) CB_RESETCONTENT 0 0
#2
Add it again. QM 2.3.0 has a function for it - CB_Add. Also can be used SendMessage with CB_ADDSTRING, these are documented in MSDN library.
#3
oh ok thanks man i was overthinking it i guess.


Forum Jump:


Users browsing this thread: 1 Guest(s)