◄Summary► ◄Example► ◄Up► ◄Contents► ◄Index► ◄Back► ─────Run-Time Library─────────────────────────────────────────────────────── The _wsetsize function sets the size and position of a QuickWin window. This routine is used only in QuickWin programs; it is not part of the Windows API. For full details about QuickWin, see Chapter 8 of the Programming Techniques manual. The <wsize> argument points to a _wsizeinfo structure (declared in IO.H) containing the new size and position information. The structure contains a _type field that can have one of the following values: Value Meaning _WINSIZEMIN Minimize the window _WINSIZEMAX Maximize the window _WINSIZRESTORE Restore a previously minimized window _WINSIZECHAR Use character coordinates for the window size If the type is _WINSIZECHAR, you must supply the _x, _y, _h, and _w values in the remainder of the structure. They specify the upper-left corner and the height and width of the window (in characters). Return Value If successful, _wsetsize returns 0. A return value of 1 indicates an error. -♦-