Print Page | Close Window

Removing a Custom control from Ribbon Bar

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Command Bars
Forum Description: Topics Related to Codejock Command Bars
URL: http://forum.codejock.com/forum_posts.asp?TID=7134
Printed Date: 18 June 2025 at 7:29pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Removing a Custom control from Ribbon Bar
Posted By: conkerjoe
Subject: Removing a Custom control from Ribbon Bar
Date 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  



Replies:
Posted By: Oleg
Date Posted: 16 May 2007 at 6:03am
Hi,
 
you need hide dtpDateView control.


-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net