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 » Multiple select Collapse All
Subject Author Date
David Skok Aug 1, 2006 - 6:42 AM

Is it possible to implement the shift (for consecutive multiple select) and control (for selective multiple select) keys with the mouse in CExtGridCtrl and CExtReportGridWnd?

Thanks

Technical Support Aug 1, 2006 - 11:22 AM

The selection in question is supported both in CExtGridWnd and in CExtReportGridWnd. This is demonstrated in the SimpleGrids and ReportGrid samples. The SiwModifyStyle() method takes __EGBS_SFB_*** flags that specify single row/column/cell selection and __EGBS_SFM_*** flags that specify multiple row/column/cell selection. Any __EGBS_SFM_*** selection is rectangular (multiple rows/columns/cells). The __EGBS_MULTI_AREA_SELECTION style means the selection can contain more than one rectangular region. The __EGBS_SUBTRACT_SEL_AREAS style indicates that for example, if two selected areas are overlapped, the overlapped area is unselected.