Re: Win32Lib: Window Icon

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

Hello Brian,
      Just use the .ico file when you not compile your program.
      And when you're going to do it, change the ico file to the
      executable file =)


--
Best regards,
 Caballero Rojo                            mailto:pampeano at rocketmail.com

Friday, February 25, 2000, 6:24:56 AM, you wrote:

BB> Just wondering if there is a better way to do this...  I want to bind a
BB> program with a custom icon and have that icon be displayed in the corner of
BB> my window.  I am using the following code.

BB> -- start snippet --

BB> sequence cl

BB> cl = command_line()
BB> setIcon( MyWindow, cl[2] )

BB> -- end snippet --

BB> This assures that the icon will show up in my window regardless of what the
BB> executable is named.

BB> So is there a better way to accomplish this?  If not, may I suggest to
BB> David that this might make a good example for 'setIcon' in 'Win32Lib.htm'.

BB> --Brian



__________________________________________________
Do You Yahoo!?
Talk to your friends online with Yahoo! Messenger.
http://im.yahoo.com

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

Search



Quick Links

User menu

Not signed in.

Misc Menu