Print Page | Close Window

Command bar button types

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=10743
Printed Date: 29 April 2025 at 11:42pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Command bar button types
Posted By: JerryEvans
Subject: Command bar button types
Date Posted: 22 May 2008 at 9:36am
xtpControlButtonPopup gives me a straight button which notifies me when clicked

xtpControlSplitButtonPopup gives me a button plus drop arrow but I only get a notification when the arrow is clicked.

Is there a way to get notifications from the second type when the button is pressed?

Thanks.



Replies:
Posted By: Oleg
Date Posted: 22 May 2008 at 11:02am
Hi,
 
What notification do you mean ?


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


Posted By: JerryEvans
Date Posted: 22 May 2008 at 1:13pm
WM_COMMAND with the button ID


Posted By: JerryEvans
Date Posted: 22 May 2008 at 1:17pm
Oleg, apologies. Perhaps I'm not thinking straight. Are there 2 different WM_COMMAND notifications sent from the button and dropdown arrow?


Posted By: Oleg
Date Posted: 22 May 2008 at 2:07pm
Hello,
 
When button is clicked you can catch WM_COMMAND
when dropdown arrow you can catch WM_XTP_INITCOMMANDSPOPUP


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


Posted By: JerryEvans
Date Posted: 23 May 2008 at 5:08am
Right. thanks again.



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