C
#define ClrState(pObj, stateBits) ((OBJ_HEADER *)pObj)->state &= (~(stateBits))
Overview
This macro clear the state bits of an object. Object must be redrawn to display the changes. It is possible to clear several state bits with this macro.
Input Parameters
Input Parameters |
Description |
pObj |
Pointer to the object of interest. |
stateBits |
Defines which state bits are to be cleared. Please refer to specific objects for object state bits definition for details |
Returns
none
Preconditions
none
Side Effects
none
Example
See example for SetState().