Win32Lib: Window Icon

new topic     » topic index » view thread      » older message » newer message

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

new topic     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu