Programming guideline of WinDom
- NAME
-
FrameCalc() - get the framed window work area.
- PROTOTYPAGE
-
int FrameCalc( WINDOW *win, int mode, INT16 *x, INT16 *y,
INT16 *w, INT16 *h);
- PARAMETERS
-
- win:
- framed window descriptor,
- mode:
- zone courante (1) ou zone de travail (0),
- x,y,w,h:
- position and size of the work area,
- return:
- a nul value if no error.
- DESCRIPTION
-
FrameCalc() computes the coordinates and size of the work
area of a framed window. Widgets are take in consideration. This
function is a sub-function of WindGet(). In fact,
WindGet(WF_WORKXYWH) works correctly with framed window. The
WF_CURRXYWH mode is supported too. It better to use WindGet(),
specially in event functions because these windows can be used
as normal window or as framed window.
- SEE ALSO
-
WindGet().