Print Page | Close Window

Change drag and drop behaviour of toolbar

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Command Bars
Forum Description: Topics Related to Codejock Command Bars
URL: http://forum.codejock.com/forum_posts.asp?TID=2447
Printed Date: 06 October 2024 at 2:07am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Change drag and drop behaviour of toolbar
Posted By: KHW74
Subject: Change drag and drop behaviour of toolbar
Date Posted: 24 June 2005 at 4:16am

Hello,
I want to override the drag and drop handling of the CXTPToolBar. For example, I want to drag header items from the CXTPReportControl to the toolbar and make various modifications to the toolbar when the items are dropped.

Unfortunately, I have found out that it is not possible to change this behaviour since the custom Drag and Drop functions in the CXTPCommandBar class (from which CXTPCommandBar is derived) are not declared as virtual and can therefore not be overriden. This includes the following functions:

- OnCustomizeDragEnter
- OnCustomizeDragLeave
- OnCustomizeDragOver
- OnCustomizeDrop

It is also not possible to override the implementation of the CXTPCustomizeDropSource class.

Any help regarding this problem would be appreciated.

Regards,
KHW

 

 

 

 




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