Re: Win api question.
- Posted by Brian Broker <brian_broker at yahoo.com> Nov 29, 2005
- 516 views
Jeremy Peterson wrote: > > What api call would I use to change the icon in the upper-left corner of > an application? > > Later, > Jeremy Peterson > > Life is real, games are for fun. If you are using Win32Lib, you could just do: setIcon(Win,"icon.ico") Using API calls, you could get the icon handle with ExtractIcon, then use SendMessage to send a WM_SETICON message to the window, passing the icon handle. Win32Lib does this for ICON_BIG and ICON_SMALL. -- Brian