Print Page | Close Window

CommandBar Button OLEDrag

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=18596
Printed Date: 06 October 2024 at 12:23am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: CommandBar Button OLEDrag
Posted By: garyhenson
Subject: CommandBar Button OLEDrag
Date Posted: 27 June 2011 at 5:46pm
After reveiwing the docs/samples/etc I'm still confused, sorry.
 
Isn't it possible to use OLEDragDrop in a commandbar button?
 
I see that ListView, ListBox and Treeview have OLEDrag but not Button???
 
There is an example of dragging a button in a gallery in a ribbonbar but that's all I can find??
 
I dont' want to use a ribbon bar, just a command bar with several buttons. I want to be able to use OLEDrag/Drop on several of the buttons on the commandbar (not all).
 
I must be missing something here??
 
Thanks!
Gary
 


-------------
Software Developer
Product: Xtreme SuitePro (ActiveX) version 13.0
Platform: Windows XP (32bit) - SP 3
Language: Visual Basic 6.0



Replies:
Posted By: Oleg
Date Posted: 28 June 2011 at 6:07am
Hello,

Sorry, no, you can't drop something to CommandBarButton.


-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS


Posted By: garyhenson
Date Posted: 28 June 2011 at 9:37am
Sorry for not being precise, Oleg, but I dont' want to drop something 'to' a command bar button.
I want to drag a button 'from' the commandbar.
Or if I cannot do that at least be able to detect MouseDown, MouseMove and MouseUp so that I can
implement drag/drop myself.
Please let me know if:
- I can detect/perform OLEDrag 'from' a button on a commandbar
- How I can detect MouseDown, MouseMove, MouseUp on a button on a commandbar
 
Thanks!
Gary


-------------
Software Developer
Product: Xtreme SuitePro (ActiveX) version 13.0
Platform: Windows XP (32bit) - SP 3
Language: Visual Basic 6.0


Posted By: garyhenson
Date Posted: 28 June 2011 at 9:39am
To more clear, I do not want to do this from a button in a gallery on a ribbon bar. I do not have or want to use a ribbon bar.
I have a command bar with several buttons. I want to be abe to OLEDrag from these buttons on a commandbar. Or at leas be able to detect mouse events on these buttons so that I can implement Drag/Drop myself.
Thanks again!
Gary


-------------
Software Developer
Product: Xtreme SuitePro (ActiveX) version 13.0
Platform: Windows XP (32bit) - SP 3
Language: Visual Basic 6.0


Posted By: garyhenson
Date Posted: 28 June 2011 at 10:18am
To be crystal clear (;-) I'm on v13 now but we could/would upgrade to latest version of CJ if it would help this issue.
 
Thanks!


-------------
Software Developer
Product: Xtreme SuitePro (ActiveX) version 13.0
Platform: Windows XP (32bit) - SP 3
Language: Visual Basic 6.0


Posted By: Oleg
Date Posted: 29 June 2011 at 3:02am
Sorry, also don't see solution for this way.

-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS



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