Professional UI Solutions
Site Map   /  Register


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 » Height of a ComboBox Collapse All
Subject Author Date
Sebstian Leopold Dec 4, 2006 - 12:56 PM

I have a Custom Grid Control where I want to place some ComboBoxes in. How can I adjust the height of the CExtComboBox to fit the height of my Cell. And how can I disable the drawing of the Frame of the ComboBox.

My cell has a height of 20px. I dont found a way to disable the Frame of the CExtComboBox or to adjust the height.

Can you help me ?


Sebstian Leopold Dec 4, 2006 - 1:03 PM

The CComboBoxEx Class of the MFC supports a narrow ComboBox. I think this is what I need but how can I do that with Prof-UIS.

Text from MS:

Create a narrow combo box control, including sizing it so it clips the wider combo box it contains.

Please help me or tell me how I can help me self.

Technical Support Dec 5, 2006 - 1:34 PM

You cannot use CComboBox/CExtComboBoxBase/CExtComboBox windows inside Prof-UIS grid controls. The grid cells are windowless so you should use the CExtGridCellComboBox class and its API instead.