4/14/2010
In general, a top-level window should include a
Smart Minimizebutton in the title bar. To prevent the Smart
Minimize button from appearing on title bar of windows, do not use
the
WS_CAPTIONstyle — add the
WS_NONAVDONEBUTTONto the styles when calling the Windows
Embedded CE
CreateWindowfunction.
Code Example
The following code example demonstrates how to prevent
the Smart Minimize button from appearing on title bar of
windows.
Note: |
To make the following code example easier to read, security
checking and error handling are not included. This code example
should not be used in a release configuration unless it has been
modified to include them. |
|
Copy Code
|
hWnd = CreateWindow(szWindowClass, szTitle,
, CW_USEDEFAULT,
CW_USEDEFAULT, CW_USEDEFAULT, CW_USEDEFAULT, NULL,
NULL, hInstance, NULL);
|
See Also