Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Command Bars
  New Posts New Posts RSS Feed - Get parent button ID for CXTPControlPopupColor
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Get parent button ID for CXTPControlPopupColor

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


Joined: 05 May 2008
Location: United Kingdom
Status: Offline
Points: 7
Post Options Post Options   Thanks (0) Thanks(0)   Quote whudson Quote  Post ReplyReply Direct Link To This Post Topic: Get parent button ID for CXTPControlPopupColor
    Posted: 21 October 2011 at 11:57am
I have four CXTPControlPopupColor in a ribbon for setting the colour of different parts of my charts. They all use the same CXTPControlGallery popup since all of the colours offered are the same.

In the handler for the gallery colour selector I want to be able to find out the ID of the popup colour button was clicked to cause the gallery selector to be shown. Is there a way of doing this?

The brute-force solution would be to create four different gallery colour selectors, or to assign the same gallery selector four different ID's, but finding the selected button would be a nicer solution (to my mind).

Thanks in advance.

William
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.168 seconds.