Print Page | Close Window

How to detect multiple clicks?

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Shortcut Bar
Forum Description: Topics Related to Codejock Shortcut Bar
URL: http://forum.codejock.com/forum_posts.asp?TID=12266
Printed Date: 27 April 2024 at 1:19am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: How to detect multiple clicks?
Posted By: aaabc
Subject: How to detect multiple clicks?
Date 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.



Replies:
Posted By: Oleg
Date 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



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