Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Command Bars
  New Posts New Posts RSS Feed - c sharp CXTPRibbonControlSystemPopupBarButton
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

c sharp CXTPRibbonControlSystemPopupBarButton

 Post Reply Post Reply
Author
Message
gaudetm View Drop Down
Senior Member
Senior Member
Avatar

Joined: 23 September 2006
Location: Canada
Status: Offline
Points: 134
Post Options Post Options   Thanks (0) Thanks(0)   Quote gaudetm Quote  Post ReplyReply Direct Link To This Post Topic: c sharp CXTPRibbonControlSystemPopupBarButton
    Posted: 23 November 2007 at 10:46am
How to create specials popup buttons in the systembutton menu like in vb6 sample of ribbon but you don't have it in the c sharp sample and can't find the way to do it in c sharp
 
Thanks
 
Marc
Back to Top
gaudetm View Drop Down
Senior Member
Senior Member
Avatar

Joined: 23 September 2006
Location: Canada
Status: Offline
Points: 134
Post Options Post Options   Thanks (0) Thanks(0)   Quote gaudetm Quote  Post ReplyReply Direct Link To This Post Posted: 27 November 2007 at 6:42pm
anyone know how to do this ?
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: 28 November 2007 at 1:09am
Hi,
What line of code of VB6 sample you can't  convert to C# ?
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
gaudetm View Drop Down
Senior Member
Senior Member
Avatar

Joined: 23 September 2006
Location: Canada
Status: Offline
Points: 134
Post Options Post Options   Thanks (0) Thanks(0)   Quote gaudetm Quote  Post ReplyReply Direct Link To This Post Posted: 01 December 2007 at 1:03pm
        Set Control = CommandBars.CreateCommandBarControl("CXTPRibbonControlSystemPopupBarListCaption")
        Control.Caption = "Recent Documents"
        Control.BeginGroup = True
        .AddControl Control
      
        Set Control = CommandBars.CreateCommandBarControl("CXTPRibbonControlSystemPopupBarListItem")
        Control.Caption = "frmMain.frm"
        .AddControl Control
       
        Set Control = CommandBars.CreateCommandBarControl("CXTPRibbonControlSystemPopupBarButton")
        Control.Caption = "Opt&ions"
        Control.Id = ID_FILE_OPTIONS
        .AddControl Control
    
        Set Control = CommandBars.CreateCommandBarControl("CXTPRibbonControlSystemPopupBarButton")
        Control.Caption = "E&xit Sample"
        Control.Id = ID_APP_EXIT
        .AddControl Control
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: 02 December 2007 at 9:54am
Same code works for me:
 
C#:

Control = CommandBars.CreateCommandBarControl("CXTPRibbonControlSystemPopupBarButton");

Control.Caption = "E&xit Sample";

Control.Id = ID.ID_APP_EXIT;

ControlFile.CommandBar.Controls.AddControl(Control, -1);

Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
gaudetm View Drop Down
Senior Member
Senior Member
Avatar

Joined: 23 September 2006
Location: Canada
Status: Offline
Points: 134
Post Options Post Options   Thanks (0) Thanks(0)   Quote gaudetm Quote  Post ReplyReply Direct Link To This Post Posted: 03 December 2007 at 8:38pm
Thank, the sample you supply work fine
 
Marc
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.031 seconds.