CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: GCDEF

Search: Search took 0.15 seconds.

  1. Replies
    9
    Views
    16,227

    Re: CButton and EnableWindow?

    Not really. It's because that's how control bars work. EnableWindow works on CFormView and dialog controls and other windows in doc/view apps, just not in control bars.
  2. Replies
    9
    Views
    16,227

    Re: CButton and EnableWindow?

    A CDialogBar is derived from CControlBar, which is also the base class for CToolBar. That's the way they work.
  3. Replies
    9
    Views
    16,227

    Re: CButton and EnableWindow?

    Yes you are. You're doing it wrong. If you want to disable a toolbar button use the CCmdUI mechanism.
Results 1 to 3 of 3





Click Here to Expand Forum to Full Width

Featured