Compartilhar via


Windows Functions (Windows CE 5.0)

Send Feedback

The following table shows the windows functions, with a description of the purpose of each.

Programming element Description
AdjustWindowRectEx This function calculates the required size of the rectangle of a window with extended style based on the desired client-rectangle size.
BeginDeferWindowPos This function allocates memory for a multiple-window position structure and returns the handle to the structure.
BringWindowToTop This function brings the specified window to the top of the z-order.
CallWindowProc This function passes message information to the specified window procedure.
ChildWindowFromPoint This function determines which, if any, of the child windows belonging to a parent window contains the specified point.
CreateWindow This function creates an overlapped, pop-up, or child window.
CreateWindowEx This function creates an overlapped, pop-up, or child window with an extended style; otherwise, this function is identical to the CreateWindow function.
DeferWindowPos This function updates the specified multiple-window position structure for the specified window.
DefWindowProc This function calls the default window procedure to provide default processing for any window messages that an application does not process.
DestroyWindow This function destroys the specified window.
EndDeferWindowPos This function simultaneously updates the position and size of one or more windows in a single screen-refreshing cycle.
EnumWindows This function enumerates all top-level windows on the screen by passing the handle to each window, in turn, to an application-defined callback function.
EnumWindowsProc This function is an application-defined callback function that receives top-level window handles as a result of a call to the EnumWindows function.
FindWindow This function retrieves the handle to the top-level window whose class name and window name match the specified strings. This function does not search child windows.
GetClientRect This function retrieves the coordinates of a window's client area.
GetDesktopWindow This function returns a handle to the desktop window.
GetForegroundWindow This function returns the handle to the foreground window — the window with which the user is currently working.
GetParent This function retrieves the handle to the specified child window's parent window.
GetWindow This function retrieves the handle to a window that has the specified relationship to the specified window.
GetWindowRect This function retrieves the dimensions of the bounding rectangle of the specified window.
GetWindowText This function copies the text of the specified window's title bar — if it has one — into a buffer.
GetWindowTextLength This function retrieves the length, in characters, of the specified window's title bar text — if the window has a title bar.
GetWindowThreadProcessId This function retrieves the identifier of the thread that created the specified window and, optionally, the identifier of the process that created the window.
IsChild This function tests whether a window is a child window or descendant window of a specified parent window.
IsWindow This function determines whether the specified window handle identifies an existing window.
IsWindowVisible This function retrieves the visibility state of the specified window.
MoveWindow This function changes the position and dimensions of the specified window.
SetForegroundWindow This function puts the thread that created the specified window into the foreground and activates the window.
SetParent This function changes the parent window of the specified child window.
SetWindowPos This function changes the size, position, and z-order of a child, pop-up, or top-level window.
SetWindowText This function changes the text of the specified window's title bar, if it has one.
ShowWindow This function sets the specified window's show state.
WindowFromPoint This function retrieves the handle to the window that contains the specified point.
WindowProc This function is an application-defined callback function that processes messages sent to a window.
WinMain This function is called by the system as the initial entry point for Windows CE-based applications.

See Also

Windows Reference

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.