![]() |
![]() |
![]() |
![]() |
![]() |
This version of this document is no longer maintained. For the latest documentation, see http://www.qnx.com/developers/docs. |
Determine the size of a window's frame
int PtWindowGetFrameSize( PtWidget_t *window,
PhRect_t *rect );
ph
This function determines the size of the frame for the window pointed to by window. The results are stored in the PhRect_t structure pointed to by rect; each member gives the size of a different part of the frame:
| Member | Part of frame |
|---|---|
| ul.y | Top |
| lr.y | Bottom |
| ul.x | Left |
| lr.x | Right |
Photon
| Safety: | |
|---|---|
| Interrupt handler | No |
| Signal handler | No |
| Thread | No |
PhRect_t, PtCalcCanvas(), PtWidgetArea(), PtWidgetDim(), PtWidgetExtent()
Window Management chapter of the Photon Programmer's Guide
![]() |
![]() |
![]() |
![]() |