Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Command Bars
  New Posts New Posts RSS Feed - Ribbon bar custom control
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Ribbon bar custom control

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


Joined: 10 October 2006
Status: Offline
Points: 5
Post Options Post Options   Thanks (0) Thanks(0)   Quote Slater Quote  Post ReplyReply Direct Link To This Post Topic: Ribbon bar custom control
    Posted: 12 October 2006 at 3:42am
Hi All,
 
I am new to CommandBars. I tried to find it on this site but there are no examples about it. How can I add a custom control to a ribbon group?
 
I tried this:

XtremeCommandBars.RibbonGroup Group = null;

XtremeCommandBars.CommandBarControl control = null;

Group = TabOrderAndOutputs.Groups.AddGroup("&Group", ID.ID_GROUP);

control = Group.Add(XtremeCommandBars.XTPControlType.xtpControlCustom, 0, "Hello", null, null);

All examples I found say that the control should have a handle property. But it does not exist. What do I miss here?
 
Thx.
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.