bool CTablemapAccess::GetButtonRect(CString button_name, RECT *_rect) { /* r$ : Inserts button details into RECT parameter */ return GetTableMapRect(button_name, _rect); }
// Returns the coordinates (rectangle) of a button, if it exists. bool CTablemapAccess::GetButtonRect(int button_code, RECT *_rect) { CString button_name = GetButtonName(button_code); if (button_name != "") { return GetTableMapRect(button_name, _rect); } return false; }