Win32Lib: Window Icon
- Posted by Brian Broker <bkb at CNW.COM> Feb 25, 2000
- 528 views
Just wondering if there is a better way to do this... I want to bind a program with a custom icon and have that icon be displayed in the corner of my window. I am using the following code. -- start snippet -- sequence cl cl = command_line() setIcon( MyWindow, cl[2] ) -- end snippet -- This assures that the icon will show up in my window regardless of what the executable is named. So is there a better way to accomplish this? If not, may I suggest to David that this might make a good example for 'setIcon' in 'Win32Lib.htm'. --Brian