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 Tech Support » Disable edit control for CExtGridCellComboBox when user click on the item. Collapse All
Subject Author Date
Roongrit Charoensupkul Oct 14, 2007 - 2:39 AM

I’m implementing a property dialog following CPageGrid::_InitColumnComboBox(...) method in ProfUIS_Controls example. I can create a combo box on runtime and set the list of option for it. However, when user click on the cell, the edit control show up and enable user to modify the string option. I don’t want to let the user be able to modify the string option, what should I do?

Technical Support Oct 15, 2007 - 8:28 AM

The in-place editor window for a particular grid cell will not be activated if you modify the cell styles in this way

pCell->ModifyStyle( __EGCS_NO_INPLACE_CONTROL );