CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2

Thread: Save button

  1. #1
    Join Date
    Apr 1999
    Posts
    4

    Save button

    Hi,
    I have a MDI with 3 documents and views.
    For one of these views I want to disable to Save button in the toolbar.
    How do I do that.
    Thanks in response


  2. #2
    Join Date
    May 1999
    Posts
    128

    Re: Save button

    just add a ON_UPDATE_COMMAND_UI handler for the menu command ID_FILE_SAVE in your view class and call pCmdUI->Enable(FALSE).



Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured