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 » CExtTreeGridWnd drag and drop Collapse All
Subject Author Date
Eddie Judson Oct 26, 2006 - 8:00 AM

Hi,
I have a class derived from a CExtTreeGridWnd that has a listing of fields in it. Can you point me in the right direction for implementing drag and drop functionality much like how your FormEditor sample can drag and drop from the CExtToolBoxWnd to the form editor?
Regards,
Eddie

Technical Support Oct 27, 2006 - 5:22 AM

We have added a FAQ that outlines how to implement drag-and-drop for any grid including CExtTreeGridWnd. Please note that you can convert plain row numbers of the CExtGridWnd class into HTREEITEM tree row handles of the CExtTreeGridWnd class using the CExtTreeGridWnd::ItemGetByVisibleRowIndex() and CExtTreeGridWnd::ItemGetVisibleIndexOf() methods.