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 » on-the fly initialization of tree rows during expanding Collapse All
Subject Author Date
Ian McIntosh Feb 7, 2008 - 10:07 AM

In answer to another query, Tech Support posted suggesting use of "on-the fly initialization of tree rows during expanding".
Do you have an example of how this should be done.

Technical Support Feb 8, 2008 - 3:14 AM

Unfortunately we don’t have such a sample. The idea is simple. Insert only one child row into dynamically expandable rows and override the CExtTreeGridWnd::ItemExpand() virtual method which should determine if a tree row has never beenexpanded and initialize it before invoking the parent class method.