Print Page | Close Window

How to get the button when using WM_XTP_INITCOMMAN

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=12823
Printed Date: 28 February 2025 at 5:01pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: How to get the button when using WM_XTP_INITCOMMAN
Posted By: Howard Farseer
Subject: How to get the button when using WM_XTP_INITCOMMAN
Date Posted: 29 November 2008 at 3:42pm
How to get the button clicked when using WM_XTP_INITCOMMANDSPOPUP message? The button type is xtpControlSplitButtonPopup.
I've dynamically created several buttons on the toolbar and want to create a dynamical popup menu for each button's drop-down button, but I failed.
What should I do? Thank you!



Replies:
Posted By: Oleg
Date Posted: 01 December 2008 at 4:36am
Hi,
 
Call GetControlPopup() method to get it.


-------------
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