Table of Contents

 
GetIcon
 

Purpose

Finds the ID of the button icon

 

Protoype

string CButtonMngr::GetIcon (string str_button)
 

Parameters

button the ID of the button to query
 

Description

This function queries the button object passed in with str_button and extracts the current icon, if any. The value returned is a CImage object ID.

 

Use

CButtonMngr button;
string but_icon = button.GetIcon("my_button");
 

Prev: GetHeight