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 » __EGBS_SFB_FULL_ROWS works as __EGBS_SFB_FULL_COLUMNS in CExtGridWnd Collapse All
Subject Author Date
Damien Castelltort Dec 14, 2006 - 8:40 AM

Hi,

We’ve noticed a problem (yes, again ˆˆ) in the CExtGridWnd::SiwModifyStyle method.
If we set either the __EGBS_SFB_FULL_ROWS style or __EGBS_SFB_FULL_COLUMNS, the result is the same : we always get a full column selection.

Thank you for your answer.

Aurelien Loizeau

Suhai Gyorgy Dec 15, 2006 - 2:34 AM

__EGBS_SFB_FULL_COLUMNS style equals __EGBS_SFB_FULL_ROWS|__EGBS_SFB_CELLS, so if you got __EGBS_SFB_CELLS style already set and after that you set __EGBS_SFB_FULL_ROWS, the result will be __EGBS_SFB_FULL_COLUMNS.

To make it work no matter what style is already set, you have to call SiwModifyStyle(__EGBS_SFB_FULL_ROWS, __EGBS_SFB_MASK); That will make sure there’s only __EGBS_SFB_FULL_ROWS style set and nothing else from this style-group.