Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Toolkit Pro
  New Posts New Posts RSS Feed - OnInitCommandsPopup
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

OnInitCommandsPopup

 Post Reply Post Reply
Author
Message
ABuenger View Drop Down
Newbie
Newbie
Avatar

Joined: 02 February 2006
Status: Offline
Points: 1075
Post Options Post Options   Thanks (0) Thanks(0)   Quote ABuenger Quote  Post ReplyReply Direct Link To This Post Topic: OnInitCommandsPopup
    Posted: 25 September 2006 at 9:32am
If I add a popup or split button to a ribbon group (xtpControlPopup / xtpControlSplitButtonPopup) the Add method takes an ID as the second parameter.
 
How can I get this ID in OnInitCommandsPopup? How can I identify the CXTPPopupBar?
 
Codejock support
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: 25 September 2006 at 2:11pm
Hello,
 
you can call
pPopupBar->SetBarID to set Id for popup bar.
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
ABuenger View Drop Down
Newbie
Newbie
Avatar

Joined: 02 February 2006
Status: Offline
Points: 1075
Post Options Post Options   Thanks (0) Thanks(0)   Quote ABuenger Quote  Post ReplyReply Direct Link To This Post Posted: 25 September 2006 at 2:54pm
Originally posted by oleg oleg wrote:

Hello,
 
you can call
pPopupBar->SetBarID to set Id for popup bar.
 
GetCommandBar()->SetBarID() works, but shouldn't that been automatically set when I Add the popup?
 
Codejock support
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.051 seconds.