Print Page | Close Window

Drag n drop within commandbar or gallery?

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Toolkit Pro
Forum Description: Topics Related to Codejock Toolkit Pro
URL: http://forum.codejock.com/forum_posts.asp?TID=15494
Printed Date: 22 June 2025 at 1:05am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Drag n drop within commandbar or gallery?
Posted By: znakeeye
Subject: Drag n drop within commandbar or gallery?
Date Posted: 29 October 2009 at 12:09pm
I want to create a control where 3 dynamic items are to be ordered by the user. The logic is like this (text is needed):
"First use this", "Then this", "And finally this"
 
If the user chooses to drag the items, it could end up like this:
"And finally this", "First use this", "Then this" etc
 
Obviously, drag'n'drop is desirable in this situation. The question is; where should this control go in my Ribbon application? Can I drag-drop items in a menu? (Is that even a good solution?) Can I get this behavior in a gallery control?
 
I imagine three text boxes somewhere...
 
What do you suggest?
 
My idea: A task panel inside a gallery?


-------------
PokerMemento - http://www.pokermemento.com/



Replies:
Posted By: Oleg
Date Posted: 30 October 2009 at 8:20am
Hi,
 
You can try create custom button for this items, in in some ONLButtonDown start its drag:
 
pCommandBars->SetQuickCustomizeMode(TRUE);
    pControl->CustomizeStartDrag(point);
    pCommandBars->SetQuickCustomizeMode(FALSE);


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


Posted By: znakeeye
Date Posted: 30 October 2009 at 11:24am
Ingenious idea! I'll try that.
Thanks!

-------------
PokerMemento - http://www.pokermemento.com/



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