Table of Contents

 
GetWidth
 

Purpose

Finds the width of the button

 

Protoype

int CButtonMngr::GetWidth (string str_button)
 

Parameters

button the ID of the button to query
 

Description

This function queries the button object whose ID is passed in with str_button and extracts the width of the button.

 

Use

CButtonMngr button;
int width = button.GetWidth("my_button");
 

Prev: GetState