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

Search:

Type: Posts; User: Ankheg

Search: Search took 0.03 seconds.

  1. Replies
    9
    Views
    16,227

    Re: CButton and EnableWindow?

    Visual C++ is chock full of these little 'gotchas', isn't it? Thanks for the help, guys.
  2. Replies
    9
    Views
    16,227

    Re: CButton and EnableWindow?

    Well, I tried this out and it definitely works. Thanks!

    I'm still confused about why EnableWindow() doesn't work, though. Google for 'disable CButton' and the first five responses all say to use...
  3. Replies
    9
    Views
    16,227

    Re: CButton and EnableWindow?

    It's not a toolbar button, it's a regular CButton in a CDialogBar dialog. The m_toolBar is named that because the function of that CDialogBar is mainly to be a tool bar.
  4. Replies
    9
    Views
    16,227

    [RESOLVED] CButton and EnableWindow?

    This seems really simple. I want to disable a button. A simple google search tells me that I should be passing false to the button's EnableWindow function.

    It's not working, and I'm not sure...
Results 1 to 4 of 4





Click Here to Expand Forum to Full Width

Featured