devxlogo

Show the List Box of a Combo Box Using SendMessage API

Show the List Box of a Combo Box Using SendMessage API

Sending the window message CB_SHOWDROPDOWN to the combo boxl shows the list box of a combo box. Example:

  * Create a new Standard EXE Project  * Add a combo box to Form1  * Add a command button to Form1  * Add the following lines of code to Form1:         Private Declare Function SendMessageLong _             Lib

devx-admin

Share the Post: