Table of Contents

 
IsVisible
 

Purpose

Determines whether or not the button is being rendered

 

Protoype

bool CButtonMngr::IsVisble (string str_button)
 

Parameters

button the ID of the button to query
 

Description

This function checks to see if the button you passed in is currently visible on the screen. If so, then it will return TRUE. If the button is hidden FALSE will be returned.

 

Use

CButtonMngr button;
if (button.IsVisible("my_button"))
    // we can see the button
 

Prev: IsStuck