Print Page | Close Window

Duplicated controls

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=23763
Printed Date: 11 December 2024 at 6:47pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Duplicated controls
Posted By: fjosesen
Subject: Duplicated controls
Date Posted: 13 November 2018 at 11:27am
Hi,

When you change the ID of a control inside a CXTPToolbar, calling the method SetID(), you get duplicated controls on menu "Add or Remove Buttons" of the toolbar (the old and the new ones). I need to change the IDs of dinamically created toolbars just to avoid ID collisions.

So, the question is, is there any way to refresh the content of these menus avoid the duplicated buttons?

Best regards


-------------
Products: Suite Pro (ActiveX) v18.0.1
          Toolkit Pro (MFC) v18.0.1
Platform: Windows 10 (64bit)
Language: VC++ 2013 (MFC)



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