This method sets the state for the specified button in a toolbar control.
This method is especially handy if you want to set more than one of the button states. To just set one state, use one of the following methods: EnableButton, CheckButton, HideButton, Indeterminate, or PressButton.
| Header file: | Afxcmn.h |
| Platforms: | Palm-size PC, H/PC Pro |
| Windows CE versions: | 2.10 and later |
| Complete documentation: | Visual C++ documentation |
BOOL SetState( int nID, UINT nState );