| Table of Contents | ||
|
|
||
| IsHotSpot | ||
|
Purpose Determines whether or not the button is actually a hotspot |
||
|
Protoype bool CButtonMngr::IsHotSpot (string str_button) |
||
|
Parameters
|
||
|
Description There's really no outward distinction (code-wise) that tells you what's a hotspot and what's a button so this function does it for you. Pass in the button ID you want to type for str_button and the function will return TRUE if it's a hotspot and FALSE if it's a button. |
||
|
Use CButtonMngr button; if (button.IsHotSpot("my_button"))
// button is a hotspot
|
||
|
|
||
|