SizeWindow
SizeWindow Shrink or enlarge a window
#include <Windows.h> Window Manager
void SizeWindow( theWindow, wide, high, updateFlag );
WindowPtr theWindow ; window to modify
short wide ; new width
short high ; new height
Boolean updateFlag ; TRUE=add to update region
SizeWindow resizes the specified window. The window frame and title are
redrawn. The update region is modified ( optionally) to encompass any change
in size of the content region.
theWindow is the window to be resized.
wide and...
high are the new width and height for the window, in pixels. These
parameters are typically obtained from the value returned by
updateFlag is a Boolean value specifying how future update events will be
handled. It is one of:
FALSE The new portions of the content are must be handled manually
(e.g., via InvalRect).
TRUE Any area added to the content region will be made part of the
window's update region.
Returns: none

Notes: The location of the window's top left corner remains the same. The frame
is redrawn with dimensions wide and high . If the width changes, the title
is redrawn centered or truncated, if necessary.
Use updateFlag =TRUE for normal operation - this ensures that update
events will occur when the newly-added region gets uncovered or changed.
However, a setting of FALSE may speed up your program if you want to be
selective and ignore or optimize redrawing of the new area.
After using this function, you are responsible for moving and re drawing
any controls that changed position, especially scroll bars, which are sure to
move and/or change size.
See GrowWindow for related information.