This method enables or disables the specified button in a toolbar control. When a button has been enabled, it can be pressed and checked. To change more than one button state, consider calling SetState instead.
Header file: | Afxcmn.h |
Platforms: | Palm-size PC, H/PC Pro |
Windows CE versions: | 2.10 and later |
Complete documentation: | Visual C++ documentation |
BOOL EnableButton( int nID, BOOL bEnable = TRUE );