Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Property Grid
  New Posts New Posts RSS Feed - Drag-n-drop grid rows
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Drag-n-drop grid rows

 Post Reply Post Reply
Author
Message
larryp View Drop Down
Groupie
Groupie


Joined: 15 January 2005
Location: United States
Status: Offline
Points: 61
Post Options Post Options   Thanks (0) Thanks(0)   Quote larryp Quote  Post ReplyReply Direct Link To This Post Topic: Drag-n-drop grid rows
    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
 
 
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.172 seconds.