API Reference | developer.brewmp.com API Reference | developer.brewmp.com

Developer

API Reference

IMENUCTL_GETRECT()

Brew Release
Brew MP 1.0.2
See Also
AEERect IMenuCtl IMENUCTL_SetRect
Description
This function returns the control rectangle value of the menu control object. It is useful for determining the optimal/default size and position of a control object after it is created.
Params
pIMenuCtl
[]:
pointer to the IMenuCtl interface object.
prc
[]:
rectangle to be filled with the rectangle coordinates of the menu control.
Interface
  • IMENUCTL
Prototype
  •     void IMENUCTL_GetRect(IMenuCtl * pIMenuCtl, AEERect * prc);
    
Return
  • None
Side Effect
  • None.
Comments
The menu control object is displayed in a rectangular area of the screen specified by the coordinates stored in the menu control object. By default, these coordinates correspond to the coordinates of the entire display screen when the menu control object is instantiated. Use IMENUCTL_SetRect() to change the coordinates and encompass any section of the display screen. Use IMENUCTL_GetRect() to retrieve the current specifications of the control rectangle.