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 » CextTreeGridWnd Collapse All
Subject Author Date
Massimo Germi Mar 30, 2006 - 1:32 AM

HI to all,
How can I prevent the user edit cell in CextTreeGridWnd?
I’ve tried to use
BseModifyStyleEx(
0,
__EGWS_BSE_EDIT_SINGLE_LCLICK |
__EGWS_BSE_EDIT_DOUBLE_LCLICK |
__EGWS_BSE_EDIT_RETURN_CLICK,
false);
but it seems do not work.

Thanks in advance

Technical Support Mar 30, 2006 - 5:26 AM

You need just to remove the __EGWS_BSE_EDIT_CELLS_INNER with the following code:

BseModifyStyle( 0, __EGWS_BSE_EDIT_CELLS_INNER, false );
Please note you need to use the CExtGridWnd::BseModifyStyle() method instead of CExtGridWnd::BseModifyStyleEx().