Table of Contents | ||
|
||
IsDisabled | ||
Purpose Determines whether or not the button is disabled |
||
Protoype bool CButtonMngr::IsDisabled (string str_button) |
||
Parameters
|
||
Description This function checks a button's state to see if the state value matches with the one assigned to a disabled state, and returns TRUE if this is the case and FALSE if it is not. If a button is disabled then it can not be clicked and is ignored by any mouse events. |
||
Use CButtonMngr button; if (button.IsDisabled("my_button")) // button is disabled |
||
|
||
|