How to disable/enable toolbar buttons? - Programmer

This is a discussion on How to disable/enable toolbar buttons? - Programmer ; TIA. Deli...

+ Reply to Thread
Results 1 to 2 of 2

Thread: How to disable/enable toolbar buttons?

  1. How to disable/enable toolbar buttons?

    TIA.

    Deli

  2. Re: How to disable/enable toolbar buttons?

    Use classwizard. Find your menu ID, select UPDATE_COMMAND_UI, select
    "Add Function", then "OK", then "Edit Code". Add a line like
    pCmdUI->SetCheck(bLogging);

    where bLogging is a BOOL you set elsewhere in your program and all
    works fine.

    Paul.

+ Reply to Thread