|
From: Kevin W. <ke...@me...> - 2004-02-04 10:27:53
|
Geoff, You set the icon property of the window when you register the window class: Create a WNDCLASSEX structure and set the icon property (HICON) Pass a pointer to the WNDCLASSEX structure in the call to RegisterClassEx In the CreateWindowEx function, pass the name of your registered class (lpClassName) For more details, search for the above names in the Win32 Developers References. Kev. ========================= At 20:39 03/02/04, Geoff Baker wrote: >I wrote a program to automate some testing at work and I was thinking it >would be cool to use a custom icon. So I set it in the project options and >it works correctly, however I do not know how to take the icon and tell my >main createwindowex() function to access that and use it as its icon. Does >anyone know what I would do? > > > Thanks > > Geoff Baker > > Systems Integration Technologist |