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 » How do I unselect a row in a CExtTreeGridWnd by its index? Collapse All
Subject Author Date
Alastair Watts Aug 20, 2010 - 5:18 AM

Any ideas?


 

Technical Support Aug 20, 2010 - 11:49 AM

The selection is implemented as an array of rectangles with zero-based row/column indexes. You can access or modify these rectangles through CExtGridWnd::Selection***() methods. The single selection model assumes only one single row or column rectangle is present in this array. You can access the rectangles covering the row you want to unselect, remove them and insert new rectangles which do not cover the row that should not be selected.