Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Command Bars
  New Posts New Posts RSS Feed - Bug in ID property
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Bug in ID property

 Post Reply Post Reply
Author
Message
mlatona View Drop Down
Senior Member
Senior Member


Joined: 19 April 2005
Location: Germany
Status: Offline
Points: 124
Post Options Post Options   Thanks (0) Thanks(0)   Quote mlatona Quote  Post ReplyReply Direct Link To This Post Topic: Bug in ID property
    Posted: 25 August 2005 at 3:48am

When I add a popup control to a commandbar and set the ID property in the add function, the value is not saved in the property from the popup control. For example with a button control it works. When I set the property after it is created it works.

Try this code:

With CommandBars1(1).Controls.Add(xtpControlPopup, 2, "Filter")
  MsgBox .Id
End With

With CommandBars1(1).Controls.Add(xtpControlButton, 2, "Filter")
  MsgBox .Id
End With

 

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.125 seconds.