1.3 Display and Movement Functions

Display and movement functions show, hide, and move windows and obtain information about the number and position of windows on the screen. Following are display and movement functions:

Function Description

ArrangeIconicWindows Arranges minimized (iconic) child windows.
BeginDeferWindowPos Initializes memory used by the DeferWindowPos function.
BringWindowToTop Brings a window to the top of a stack of overlapped windows.
CloseWindow Minimizes the specified window.
DeferWindowPos Records positioning information for a window to be moved or resized by the EndDeferWindowPos function.
EndDeferWindowPos Positions or sizes several windows simultaneously based on information recorded by the DeferWindowPos function.
GetClientRect Copies the coordinates of a window's client area.
GetWindowPlacement Retrieves the show state and the normal (restored), minimized, and maximized positions of a window.
GetWindowRect Copies the dimensions of an entire window.
GetWindowText Copies a window title into a buffer.
GetWindowTextLength Returns the length, in bytes, of the given window's title or text.
IsIconic Specifies whether a window is minimized (iconic).
IsWindowVisible Determines whether the given window is visible.
IsZoomed Determines whether a window is maximized.
MoveWindow Changes the size and position of a window.
OpenIcon Opens the specified window.
SetWindowPlacement Sets the show state and the normal (restored), minimized, and maximized positions of a window.
SetWindowPos Changes the size, position, and ordering of overlapped, pop-up, and child windows.
SetWindowText Sets the window title or text.
ShowOwnedPopups Shows or hides all pop-up windows.
ShowWindow Sets the visibility state of the given window.

For detailed information about the display and movement functions, see the Microsoft Windows Programmer's Reference, Volume 2.