Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Shortcut Bar
  New Posts New Posts RSS Feed - How to detect multiple clicks?
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

How to detect multiple clicks?

 Post Reply Post Reply
Author
Message
aaabc View Drop Down
Newbie
Newbie


Joined: 29 January 2007
Status: Offline
Points: 6
Post Options Post Options   Thanks (0) Thanks(0)   Quote aaabc Quote  Post ReplyReply Direct Link To This Post Topic: How to detect multiple clicks?
    Posted: 26 September 2008 at 12:57pm
Hi all,
 
Could someone please help me a bit here...
 
I noticed that in CXTPShortcutBar the only messages I can get are XTP_SBN_SELECTION_CHANGING and XTP_SBN_RCLICK.  Does this mean I cannot detect if the user clicks on the same CXTPShortcutBarItem again and again?
 
Is there any workaround for this?  I use the shortcutbar to hold shortcuts to certain functions.  Therefore no client pane, and user should be able to click/run the same shortcut more than once consecutively.

Thanks for any input.
Back to Top
Oleg View Drop Down
Admin Group
Admin Group
Avatar

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: 29 September 2008 at 4:26am
Hello,
 
You can override CXTPShortcutBar, add  ON_WM_LBUTTONUP in message map, etc. :)
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down



This page was generated in 0.063 seconds.