VB6: expanding the number of items in a combo box

Is there a way to increase the number of items that appear in a VB6 combo control when it falls? I have about 10 items, and I would like to show them to everyone.

+3
source share
2 answers

This code on the classic Karl Peterson website will automatically sort the combo box according to the number of elements:

http://vb.mvps.org/samples/FullDrop/

+3
source

I used the code here and I can confirm that it works as advertised. If you delete the last call to SendMessage, it will not actually exit until the user clicks on it.

http://vbnet.mvps.org/index.html?code/comboapi/comboheight.htm

0

Source: https://habr.com/ru/post/1715251/


All Articles