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 General Discussion » Save CExtTreeGridWnd structure ( roots collapsed or not) Collapse All
Subject Author Date
Therese P Nov 15, 2011 - 3:43 PM

Hi Prof Uis team,


I am looking for a method in CExtTreeGridWnd that can serialize my tree grid root status (collapsed or not) before I destroy my dialog and when I open my dialog,  the tree grid back is loaded with the same status as when I closed it.


Thanks

Technical Support Nov 17, 2011 - 2:31 AM

You should not try to expand/contract an invisible tree root item. The CExtTreeGridWnd::ItemIsExpanded() method always returns true for the root item.