Print Page | Close Window

Drag-n-drop grid rows

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Property Grid
Forum Description: Topics Related to Codejock Property Grid
URL: http://forum.codejock.com/forum_posts.asp?TID=14752
Printed Date: 14 May 2024 at 4:03am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Drag-n-drop grid rows
Posted By: larryp
Subject: Drag-n-drop grid rows
Date Posted: 15 July 2009 at 3:19pm
I have a property grid and I need to be able to drag-n-drop rows within the same grid.  I do not need to go between multiple grids.  Anyone have any ideas on the best approach to this.
 
I tried creating a derived class from CXTPPropertyGrid and catching the OnLButtonDown, OnLButtonUp, OnMouseMove, etc... events to do the standard drag-n-drop (OnBeginDrag, etc...).  However, the property grid class creates a CXTPPropertyGridView which creates the CXTPPropertyGridItem objects and they are the windows that get the events, not my derived class.
 
--Larry
 
Xtreme ToolkitPro v13.1.0
Visual Studio 2008
 
 



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net