Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Command Bars
  New Posts New Posts RSS Feed - Duplicated controls
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Duplicated controls

 Post Reply Post Reply
fjosesen View Drop Down

Joined: 30 June 2008
Status: Offline
Points: 43
Post Options Post Options   Thanks (0) Thanks(0)   Quote fjosesen Quote  Post ReplyReply Direct Link To This Post Topic: Duplicated controls
    Posted: 13 November 2018 at 11:27am

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)
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

This page was generated in 0.094 seconds.