Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Command Bars
  New Posts New Posts RSS Feed - Why does this not work....
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Why does this not work....

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


Joined: 20 April 2007
Status: Offline
Points: 3
Post Options Post Options   Thanks (0) Thanks(0)   Quote Carp01 Quote  Post ReplyReply Direct Link To This Post Topic: Why does this not work....
    Posted: 31 May 2007 at 9:30am
Hi
 
Why does this only works on a toolbaar and not on the menubar which have the same control and ID?
 
cb.FindControl(, ID_FILE_DEL).Enabled = False
 
Thanx Eric
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: 01 June 2007 at 7:38am
Hello,
 
Set Recurse parameter to True. I very recommend you use Update handler or Actions to enable/disable commands. See Actions sample.
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.188 seconds.