Window Functions (Compact 2013)
3/28/2014
The list below describes the window functions that you use to create or modify Win32 windows in Windows Embedded Compact.
- AdjustWindowRectEx
Calculates the required size of the rectangle of a window with the extended style, based on the objective size of the window's client rectangle.
- BeginDeferWindowPos
Allocates memory for a multiple-window position structure and returns the handle to the structure.
- BringWindowToTop
Brings the specified window to the top of the z-order.
- CallWindowProc
Passes message information to the specified window procedure.
- ChildWindowFromPoint
Determines which, if any, of the child windows that belong to a parent window contains the specified x-y coordinate.
- CreateWindow
Creates an overlapped, pop-up, or child window.
- CreateWindowEx
Creates an overlapped, pop-up, or child window with an extended style. Otherwise, this function is identical to the CreateWindow function.
- DeferWindowPos
Updates the specified deferred window position structure for the specified window.
- DefWindowProc
Calls the default window procedure to provide default processing for any window messages that an application does not process.
- DestroyWindow
Destroys the specified window.
- EndDeferWindowPos
Updates the position and size of one or more windows in a single screen-refreshing cycle.
- EnumWindows
Enumerates all top-level windows on the screen by passing the handle to each window, in turn, to a callback function defined by the application.
- EnumWindowsProc
Receives top-level window handles when you call the EnumWindows function. This callback function is defined by the application.
- FindWindow
Retrieves the handle to the top-level window whose class name and window name match the specified strings. This function does not retrieve child windows.
- GetClientRect
Retrieves the coordinates of a window's client area.
- GetDesktopWindow
Returns a handle to the desktop window.
- GetForegroundWindow
Returns the handle to the window that the user is currently working with.
- GetParent
Retrieves the handle to the parent window of the specified child window.
- GetWindow
Retrieves the handle to a window that has the specified relationship to the specified window.
- GetWindowRect
Retrieves the dimensions of the bounding rectangle of the specified window.
- GetWindowText
Copies the text of the specified window's title bar into a buffer if the window has a title bar.
- GetWindowTextLength
Retrieves the length, in characters, of the specified window's title bar text if the window has a title bar.
- GetWindowThreadProcessId
Retrieves the identifier of the thread that created the specified window and, optionally, the identifier of the process that created the window.
- IsChild
Tests whether a window is a descendant window of a specified parent window.
- IsWindow
Determines whether the specified window handle identifies an existing window.
- IsWindowVisible
Retrieves the visibility state of the specified window.
- MoveWindow
Changes the position and dimensions of the specified window.
- SetForegroundWindow
Moves the thread that created the specified window into the foreground and activates the window.
- SetParent
Changes the parent window of the specified child window.
- SetWindowPos
Changes the size, position, and z-order of a child, pop-up, or top-level window.
- SetWindowText
Changes the text of the specified window's title bar if the window has a title bar.
- ShowWindow
Determines whether the specified window is displayed and how it is displayed.
- WindowFromPoint
Retrieves the handle to the window that contains the specified x-y coordinates.
- WindowProc
Processes messages sent to a window. This callback function is defined by an application.
- WinMain
Runs the Windows Embedded Compact application after it is called by the system.