Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Command Bars
  New Posts New Posts RSS Feed - How to get the button when using WM_XTP_INITCOMMAN
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

How to get the button when using WM_XTP_INITCOMMAN

 Post Reply Post Reply
Author
Message
Howard Farseer View Drop Down
Groupie
Groupie


Joined: 30 September 2007
Status: Offline
Points: 30
Post Options Post Options   Thanks (0) Thanks(0)   Quote Howard Farseer Quote  Post ReplyReply Direct Link To This Post Topic: How to get the button when using WM_XTP_INITCOMMAN
    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!
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: 01 December 2008 at 4:36am
Hi,
 
Call GetControlPopup() method to get it.
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
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.047 seconds.