Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Command Bars
  New Posts New Posts RSS Feed - Checking properties of commandbar buttons
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Checking properties of commandbar buttons

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


Joined: 15 March 2006
Location: United States
Status: Offline
Points: 1
Post Options Post Options   Thanks (0) Thanks(0)   Quote tgagle Quote  Post ReplyReply Direct Link To This Post Topic: Checking properties of commandbar buttons
    Posted: 15 March 2006 at 5:15pm

I have created a commandbar that includes several popup menu items(xtpControlPopup) each containing several buttons(xtpControlButton).

I would like to be able to access the properties of the buttons.

Example:  I want to know if a button (by ID) is currently checked (.checked).

Is this possible?

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: 15 March 2006 at 6:49pm

Hello,

of course

 

see in Help CXTPControl, CXTPControlPopup::GetCommandBar, CXTPCommandBar::GetControls

 

pControl->GetCommandBar()->GetControl(4)->GetChecke d()

 

etc

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.156 seconds.