Customizing the Nonclient Area of Windows
Other versions of this page are also available for the following:
8/28/2008
You can customize the nonclient area of windows when you create a skin. To customize the nonclient area of windows, you modify the implementation of the methods of the NonClientView_t class. The code that implements these methods is contained in the %_WINCEROOT%\Public\Common\Oak\Drivers\Skinnableui\Gwe\Nclient\Nclientview.cpp file.
The following table shows the methods of the NonClientView_t class that you can modify.
Method | Description |
---|---|
Retrieves the coordinates of the bounding rectangle. The bounding rectangle is the client area of the parent window of the specified window, expressed in screen coordinates. If the specified window is a top-level window, the bounding rectangle is the screen rectangle. |
|
Confines the touch coordinate to a rectangular area on the screen. If the touch coordinate lies outside the rectangle, NonClientView_t::BoundPoint automatically adjusts the touch coordinate to keep it inside the rectangular area. |
|
Determines the size of the client rectangle for a window with a horizontal scroll bar, given the size of the client rectangle for the window without a horizontal scroll bar. |
|
Determines the size of the client rectangle for a window that does not have a scroll bar. |
|
Determines the size of the client rectangle for a window with a vertical scroll bar, given the size of the client rectangle for the window without scroll bars. |
|
Determines whether a horizontal scroll bar can fit in a window. |
|
Determines whether a vertical scroll bar can fit in a window. |
|
Determines whether a hit occurred in the nonclient area and the location of the hit. |
|
Draws the nonclient area. |
|
Allows a group box to draw its border. |
|
Draws a frame control of the specified type and style. |
|
Draws a frame control of the specified type and style. |
|
Calculates the size of a button in the nonclient area. |