September 21st, 2010, 08:01 AM
Visual C++ is chock full of these little 'gotchas', isn't it? Thanks for the help, guys.
September 21st, 2010, 07:17 AM
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...
September 21st, 2010, 07:08 AM
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.
September 20th, 2010, 03:28 PM
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...