Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Command Bars
  New Posts New Posts RSS Feed - Removing a Custom control from Ribbon Bar
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Removing a Custom control from Ribbon Bar

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


Joined: 08 May 2007
Status: Offline
Points: 11
Post Options Post Options   Thanks (0) Thanks(0)   Quote conkerjoe Quote  Post ReplyReply Direct Link To This Post Topic: Removing a Custom control from Ribbon Bar
    Posted: 15 May 2007 at 6:38am
i have added a datepicker to a ribbongroup using this
Set custControl = grp.Add(XtremeCommandBars.XTPControlType.xtpControlCustom, ID_TOOL_APPTS_DTPICKER, "Date Picker")
   
    custControl.Handle = dtpDateView.hWnd

if i then call DeleteAll on the group or try to remove the group completely from the ribbon the datetimepicker is still left behind.
How do i remove the custom control from the ribbon



thanks  
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: 16 May 2007 at 6:03am
Hi,
 
you need hide dtpDateView control.
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.031 seconds.