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 » Combo boxes expansion Collapse All
Subject Author Date
lester oidka Sep 17, 2006 - 2:59 AM

Hi,

I use Prof-uis combo boxes and I wonder - how can I expand them? All of them are one lined with little arrows on the right side but they really contains all the strings I want. Any ideas?

Technical Support Sep 18, 2006 - 2:03 AM

This problem does not relate to Prof-UIS. If you use a drop-down/drop-list combo box on a dialog template resource, you should adjust the vertical size of the combo-box in the dialog editor of the Visual Studio. You should specify the desired width of combo box first. The drop-down/drop-list combo box supports the second resizing mode in the dialog editor which allows you to specify the summary height of the main combo box area and dropped list box area. Just click the combo box drop-down arrow to switch between the classic resizing mode and drop-down/drop-list combo box specific resizing for specifying the summary combo box height. The same approach is used when you create the drop-down/drop-list combo box programmatically in your code. The rectangle parameter specified when you call the CComboBox::Create() method should have the height of both combo box’s main area and dropped list box’s area.