Professional UI Solutions
Site Map   /  Register
 
 

Forum

Please Log In to post a new message or reply to an existing one. If you are not registered, please register.

NOTE: Some forums may be read-only if you are not currently subscribed to our technical support services.

Forums » Prof-UIS General Discussion » Question about CExtComboBox Collapse All
Subject Author Date
Paolo Giustinoni Sep 7, 2006 - 3:13 AM

I have to use the multicolumn feature of your CExtComboBox and I have a question: is it possibile to set the width of the drop-down list box so that its width is more than the ComboBox edit window?

Thanks, Paolo

Suhai Gyorgy Sep 7, 2006 - 7:17 AM

CExtComboBox is derived partly from CComboBox, which have a method you need. In MSDN:

CComboBox::SetDroppedWidth

Call this function to set the minimum allowable width, in pixels, of the list box of a combo box.

int SetDroppedWidth( UINT nWidth );