Table of Contents

 
GetButtonY
 

Purpose

Finds the button's current y location

 

Protoype

int CButtonMngr::GetButtonY (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 Y location on the screen.

 

Use

CButtonMngr button;
int ypos = button.GetButtonY("my_button");
 

Prev: GetButtonX