maybe just have 16bits .ico images and do something like :
if { [OnWindows] } {
if { $::tcl_platform(osVersion) <= 4 } { ;# Win95/98/Me/2000
wm iconbitmap icon.ico
} else {
wm iconphoto [image create photo icon.png]
}
}
would that work ?
we'd have to test.. I have winXP and tcl_platform(osVersion) is 5.1... we can
get the os versions by looking
into msdn.microsoft.com on the API call GetOsVersion() from the Microsoft API,
I'm sure we'll get the info
there.
KaKaRoTo
On Thu, Apr 19, 2007 at 03:24:14PM +0300, Vivia Nikolaidou wrote:
>
> > > Added :
> > > - Fix bug with 'wm iconphoto' on win98... this should be 'catch'-ed
> > > and fallback on old method, and we should
> > > use 16 bits images for win98 and win2000 to look good.
>
> OK, a 16-bit version has to be added to all .ico files, then the TODO item
> should be marked as DONE.
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> _______________________________________________
> Amsn-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/amsn-devel
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Amsn-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/amsn-devel