Table of Contents

 
IsStuck
 

Purpose

Determines whether or not the button is stuck

 

Protoype

bool CButtonMngr::IsStuck (string str_button)
 

Parameters

button the ID of the button to query
 

Description

This function is used to tell whether or not a button is in a stuck state. An example of a sticky button would be a check box, although regular buttons can use the sticky state as well. If the button is stuck then the function returns TRUE, otherwise it returns FALSE.

 

Use

CButtonMngr button;
if (button.IsStuck("my_button"))
    // button is in stuck state
 

Prev: IsHotSpot
Next: IsVisible