The information in this article applies to:
SYMPTOMSWhen you create a top-level window, a button is displayed on the taskbar with the window's title. However, the window's icon is not displayed, even when a valid icon handle is provided when you register the window class. CAUSEWindows CE stores handles to both the large icon and small icon in the window's internal class information. When the class is initially registered, the small icon handle is set to NULL and the large icon handle is set to the handle provided in the hIcon member of the WNDCLASS structure. Windows CE uses the small icon when displaying a button in the taskbar. RESOLUTIONTo set the small icon for a window, your application should send a WM_SETICON message to its window as follows:
STATUSThis behavior is by design. Additional query words:
Keywords : kbIcon kbGrpUser kbWinCE100 kbWinCE200 kbWndwMsg |
Last Reviewed: December 7, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |