CWindow Members
The following categories of CWindow members are available:
Alert Methods |
Data Members |
Attribute Methods |
Icon Methods |
Caret Methods |
Menu Methods |
Clipboard Methods |
Message Methods |
Construction, Destruction, and Initialization |
Process and Thread Methods |
Coordinate Mapping Methods |
Timer Methods |
Dialog Box Item Methods |
Update and Painting Methods |
Drag-Drop Methods |
Window Access Methods |
Font Methods |
Window Size and Position Methods |
Help Methods |
Window State Methods |
Window Tree Access Methods |
Scrolling Methods |
Hot Key Methods |
Window Text Methods |
Operators |
|
Alert Methods
Flashes the window once. |
|
Displays a message box. |
Attribute Methods
Retrieves the extended window styles. |
|
Retrieves the window styles. |
|
Retrieves a 32-bit value at a specified offset into the extra window memory. |
|
Retrieves information about the specified window, including a value at a specified offset into the extra window memory. |
|
Retrieves a 16-bit value at a specified offset into the extra window memory. |
|
Modifies the window styles. |
|
Modifies the extended window styles. |
|
Sets a 32-bit value at a specified offset into the extra window memory. |
|
Changes an attribute of the specified window, and also sets a value at the specified offset in the extra window memory. |
|
Sets a 16-bit value at a specified offset into the extra window memory. |
Caret Methods
Creates a new shape for the system caret. |
|
Creates a gray rectangle for the system caret. |
|
Creates a solid rectangle for the system caret. |
|
Hides the system caret. |
|
Displays the system caret. |
Clipboard Methods
Removes the window from the chain of Clipboard viewers. |
|
Opens the Clipboard. |
|
Adds the window to the Clipboard viewer chain. |
Construction, Destruction, and Initialization
Attaches a window to the CWindow object. |
|
Creates a window. |
|
Constructor. |
|
Destroys the window associated with the CWindow object. |
|
Detaches the window from the CWindow object. |
Coordinate Mapping Methods
Converts client coordinates to screen coordinates. |
|
Converts a set of points from the window's coordinate space to the coordinate space of another window. |
|
Converts screen coordinates to client coordinates. |
Dialog Box Item Methods
Changes the check state of the specified button. |
|
Checks the specified radio button. |
|
Fills a list box with the names of all files matching a specified path or file name. |
|
Fills a combo box with the names of all files matching a specified path or file name. |
|
Retrieves the current selection from a list box. |
|
Retrieves the current selection from a combo box. |
|
Retrieves an interface on the specified control. |
|
Retrieves a pointer to an interface to the ATL Control hosting container. |
|
Translates a control's text to an integer. |
|
Retrieves a control's text. |
|
Retrieves the previous or next control within a group of controls. |
|
Retrieves the previous or next control having the WS_TABSTOP style. |
|
Sets the keyboard focus to a control in the dialog box. |
|
Determines whether a message is intended for the specified dialog box. |
|
Determines the check state of the button. |
|
Sets the keyboard focus to the next control in the dialog box. |
|
Sets the keyboard focus to the previous control in the dialog box. |
|
Sends a message to a control. |
|
Changes a control's text to the string representation of an integer value. |
|
Changes a control's text. |
Drag-Drop Methods
Registers whether the window accepts dragged files. |
Font Methods
Retrieves the window's current font. |
|
Changes the window's current font. |
Help Methods
Retrieves the window's help context identifier. |
|
Sets the window's help context identifier. |
|
Starts Windows Help. |
Hot Key Methods
Determines the hot key associated with the window. |
|
Associates a hot key with the window. |
Icon Methods
Retrieves the window's large or small icon. |
|
Changes the window's large or small icon. |
Menu Methods
Redraws the window's menu bar. |
|
Retrieves the window's menu. |
|
Creates a copy of the system menu for modification. |
|
Highlights or removes the highlight from a top-level menu item. |
|
Changes the window's current menu. |
Message Methods
Places a message in the message queue associated with the thread that created the window. Returns without waiting for the thread to process the message. |
|
Sends a message to the window and does not return until the window procedure has processed the message. |
|
Sends a message to the window. If the window was created by the calling thread, SendNotifyMessage does not return until the window procedure has processed the message. Otherwise, it returns immediately. |
Process and Thread Methods
Retrieves the identifier of the process that created the window. |
|
Retrieves the identifier of the thread that created the specified window. |
Scrolling Methods
Enables or disables the scroll bar arrows. |
|
Retrieves the parameters of a scroll bar. |
|
Retrieves the position of the scroll box. |
|
Retrieves the scroll bar range. |
|
Scrolls the specified client area. |
|
Scrolls the specified client area with additional features. |
|
Sets the parameters of a scroll bar. |
|
Changes the position of the scroll box. |
|
Changes the scroll bar range. |
|
Shows or hides a scroll bar. |
Timer Methods
Destroys a timer event. |
|
Creates a timer event. |
Update and Painting Methods
Prepares the window for painting. |
|
Marks the end of painting. |
|
Retrieves a device context for the client area. |
|
Retrieves a device context for the client area and allows clipping options. |
|
Retrieves the coordinates of the smallest rectangle that completely encloses the update region. |
|
Retrieves the update region and copies it into a specified region. |
|
Retrieves a device context for the entire window. |
|
Invalidates the entire client area. |
|
Invalidates the client area within the specified rectangle. |
|
Invalidates the client area within the specified region. |
|
Determines the window's visibility state. |
|
Disables or enables drawing in the window. |
|
Requests that the window be drawn in a specified device context. |
|
Requests that the window's client area be drawn in a specified device context. |
|
Updates a specified rectangle or region in the client area. |
|
Releases a device context. |
|
Sets or clears the redraw flag. |
|
Shows or hides the pop-up windows owned by the window. |
|
Sets the window's show state. |
|
Sets the show state of a window created by a different thread. |
|
Updates the client area. |
|
Validates the client area within the specified rectangle. |
|
Validates the client area within the specified region. |
Window Access Methods
Retrieves the child window containing the specified point. |
|
Retrieves a particular type of child window containing the specified point. |
|
Retrieves the most recently active pop-up window. |
|
Retrieves the immediate parent window. |
|
Retrieves the top-level parent or owner window. |
|
Retrieves the top-level owner window. |
|
Retrieves the top-level child window. |
|
Retrieves the specified window. |
|
Determines whether the specified window is a child window. |
|
Changes the parent window. |
Window Size and Position Methods
Arranges all minimized child windows. |
|
Brings the window to the top of the Z order. |
|
Centers the window against a given window. |
|
Updates the specified multiple-window-position structure for the specified window. |
|
Retrieves the coordinates of the client area. |
|
Retrieves the show state and positions. |
|
Retrieves the window's bounding dimensions. |
|
Obtains a copy of the window region of a window. |
|
Determines whether the window is minimized. |
|
Determines whether the window is maximized. |
|
Changes the window's size and position. |
|
Resizes the window. |
|
Sets the show state and positions. |
|
Sets the size, position, and Z order. |
|
Sets the window region of a window. |
Window State Methods
Enables or disables input. |
|
Determines if the parent window of a control is a dialog window. |
|
Determines whether the window is enabled for input. |
|
Determines whether the specified window is a native Unicode window. |
|
Determines whether the specified window handle identifies an existing window. |
|
Activates the window. |
|
Sends all subsequent mouse input to the window. |
|
Sets the input focus to the window. |
Window Text Methods
Retrieves the window's text. |
|
Retrieves the length of the window's text. |
|
Changes the window's text. |
Window Tree Access Methods
Retrieves the specified descendant window. |
|
Retrieves the window's identifier (for child windows only). |
|
Retrieves the specified child window. |
|
Sends a message to the specified descendant windows. |
|
Changes the window's identifier. |
Operators
Assigns an HWND to the CWindow object. |
|
Converts the CWindow object to an HWND. |
Data Members
The handle to the window associated with the CWindow object. |
|
Contains default window dimensions. |