Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Toolkit Pro
  New Posts New Posts RSS Feed - Drag n drop within commandbar or gallery?
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Drag n drop within commandbar or gallery?

 Post Reply Post Reply
Author
Message
znakeeye View Drop Down
Senior Member
Senior Member
Avatar

Joined: 26 July 2006
Status: Offline
Points: 1672
Post Options Post Options   Thanks (0) Thanks(0)   Quote znakeeye Quote  Post ReplyReply Direct Link To This Post Topic: Drag n drop within commandbar or gallery?
    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/
Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
znakeeye View Drop Down
Senior Member
Senior Member
Avatar

Joined: 26 July 2006
Status: Offline
Points: 1672
Post Options Post Options   Thanks (0) Thanks(0)   Quote znakeeye Quote  Post ReplyReply Direct Link To This Post Posted: 30 October 2009 at 11:24am
Ingenious idea! I'll try that.
Thanks!
PokerMemento - http://www.pokermemento.com/
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.188 seconds.