Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

Windows Functions (Windows CE 5.0)

Windows CE 5.0
Send Feedback

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

Programming elementDescription
AdjustWindowRectExThis function calculates the required size of the rectangle of a window with extended style based on the desired client-rectangle size.
BeginDeferWindowPosThis function allocates memory for a multiple-window position structure and returns the handle to the structure.
BringWindowToTopThis function brings the specified window to the top of the z-order.
CallWindowProcThis function passes message information to the specified window procedure.
ChildWindowFromPointThis function determines which, if any, of the child windows belonging to a parent window contains the specified point.
CreateWindowThis function creates an overlapped, pop-up, or child window.
CreateWindowExThis function creates an overlapped, pop-up, or child window with an extended style; otherwise, this function is identical to the CreateWindow function.
DeferWindowPosThis function updates the specified multiple-window position structure for the specified window.
DefWindowProcThis function calls the default window procedure to provide default processing for any window messages that an application does not process.
DestroyWindowThis function destroys the specified window.
EndDeferWindowPosThis function simultaneously updates the position and size of one or more windows in a single screen-refreshing cycle.
EnumWindowsThis function enumerates all top-level windows on the screen by passing the handle to each window, in turn, to an application-defined callback function.
EnumWindowsProcThis function is an application-defined callback function that receives top-level window handles as a result of a call to the EnumWindows function.
FindWindowThis 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.
GetClientRectThis function retrieves the coordinates of a window's client area.
GetDesktopWindowThis function returns a handle to the desktop window.
GetForegroundWindowThis function returns the handle to the foreground window — the window with which the user is currently working.
GetParentThis function retrieves the handle to the specified child window's parent window.
GetWindowThis function retrieves the handle to a window that has the specified relationship to the specified window.
GetWindowRectThis function retrieves the dimensions of the bounding rectangle of the specified window.
GetWindowTextThis function copies the text of the specified window's title bar — if it has one — into a buffer.
GetWindowTextLengthThis function retrieves the length, in characters, of the specified window's title bar text — if the window has a title bar.
GetWindowThreadProcessIdThis function retrieves the identifier of the thread that created the specified window and, optionally, the identifier of the process that created the window.
IsChildThis function tests whether a window is a child window or descendant window of a specified parent window.
IsWindowThis function determines whether the specified window handle identifies an existing window.
IsWindowVisibleThis function retrieves the visibility state of the specified window.
MoveWindowThis function changes the position and dimensions of the specified window.
SetForegroundWindowThis function puts the thread that created the specified window into the foreground and activates the window.
SetParentThis function changes the parent window of the specified child window.
SetWindowPosThis function changes the size, position, and z-order of a child, pop-up, or top-level window.
SetWindowTextThis function changes the text of the specified window's title bar, if it has one.
ShowWindowThis function sets the specified window's show state.
WindowFromPointThis function retrieves the handle to the window that contains the specified point.
WindowProcThis function is an application-defined callback function that processes messages sent to a window.
WinMainThis 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.


Show:
© 2015 Microsoft