RE: Alt+Tab icon in windows
- Posted by Brian Broker <bkb at cnw.com> Jan 07, 2002
- 409 views
I think Derek is on vacation at the moment so I haven't received any feedback from him about it. Procedure setIcon takes 2 arguments. According to the docs for the 2nd parameter: If icon is a sequence, it will be assumed to be the name of an icon file, and Win32Lib will attempt to load the icon. Otherwise, icon is assumed to be the handle of an icon. However, if the icon is not a sequence, the library attempts to use 'xLoadIcon' to get a handle: handle = w32Func(xLoadIcon, {NULL, icon}) However, if 'icon' is already a handle, then the code should simply be: handle = icon -- Brian Jasper wrote: > snip -- a 'setIcon()' bugfix) -- snip Brian > > Everybody thanks for the advice. I haven't had time yet to test the > proposed solutions, I hope this evening. I indeed use Win32Lib so the > fix will come in handy. But what's the 'setIcon()' bug Brian refered to? > > Bye, > > Jasper. > >