Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Command Bars
  New Posts New Posts RSS Feed - Change drag and drop behaviour of toolbar
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Change drag and drop behaviour of toolbar

 Post Reply Post Reply
Author
Message
KHW74 View Drop Down
Newbie
Newbie
Avatar

Joined: 24 June 2005
Status: Offline
Points: 2
Post Options Post Options   Thanks (0) Thanks(0)   Quote KHW74 Quote  Post ReplyReply Direct Link To This Post Topic: Change drag and drop behaviour of toolbar
    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

 

 

 

 

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.125 seconds.