GetTBbuttonRect | ||||||
Syntax: | ||||||
GetTBbuttonRect( #ButtonID, your.RECT ) | ||||||
Parameters: | ||||||
| ||||||
Description: | ||||||
Fills your RECT structure with the screen-coordinates of the Button. Needed if you want to display a popup-menu when a Button is clicked, so the popup-menu is displayed on the right coordinates. | ||||||
Example: | ||||||
GetTBbuttonRect(500,btn.RECT) DisplayPopupMenu(1,hWnd,btn\left,btn\bottom) | ||||||
Remarks: | ||||||
A RECT structure has the following members: RECT \ left RECT \ top RECT \ right RECT \ bottom | ||||||
|