Table of Contents

 
GetButtonX
 

Purpose

Finds the button's current x location

 

Protoype

int CButtonMngr::GetButtonX (string str_button)
 

Parameters

button the ID of the button to query
 

Description

This function queries the button object identified with str_button and extracts the button's current X location on the screen.

 

Use

CButtonMngr button;
int xpos = button.GetButtonX("my_button");
 

Prev: DisableButton