Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.
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