I am trying to resize the standard VB Combo box using the 'MoveWindow' API as shown in thread222-726035, thread222-757158 and thread222-438535. I have been able to use the same code to change the height on other controls (textbox, listbox) but, so far, no success with the Combo box.
A couple of questions. First is it possible with the standard Combo box and if so, what am I missing?
FYI, I am using this combo as a floating combo on a flexgrid, so it would be nice to have it fit the cell height. I know that I can use the MSForms Combobox with a picture box, but I would like to have access to the Itemdata property which is available in the standard Combo Box. Maybe it would be easier to use another property from the MSForms combobox that returns a long (.HelpContextID or data converion with the .tag property).
All thoughs welcome.
zemp
A couple of questions. First is it possible with the standard Combo box and if so, what am I missing?
FYI, I am using this combo as a floating combo on a flexgrid, so it would be nice to have it fit the cell height. I know that I can use the MSForms Combobox with a picture box, but I would like to have access to the Itemdata property which is available in the standard Combo Box. Maybe it would be easier to use another property from the MSForms combobox that returns a long (.HelpContextID or data converion with the .tag property).
All thoughs welcome.
zemp