Discussion:
[gui-dev] RE: [discuss] System Tray Menu
Philippe Verdy
2005-01-27 18:18:56 UTC
Permalink
May be he is taking of my old source that updated this menu to display
icons and internationalized titles. The source is still there in CVS,
and effectively it display small icons for the system tray menu
options.

It was never released because I could not test what was wrong with it
on Windows 95 (although it seemed to work on Windows 98). The problem
was that the source was modified to correctly handle the Unicode
encoding returned from JNI strings.

Today, the old DLL (that is shipped now and for which you seem to have
lost its sources) does not display non-ASCII characters correctly (it
displays UTF-8 as if it was the local Windows ANSI codepage).

My source correctly converted the Java native UTF-16 to the local ANSI
codepage, if the Windows GUI did not support the Unicode version of the
API, or it used a conversion from UTF-16 to local ANSI codepage to
display strings with the 8-bit ANSI or DBCS interface. Normally, my DLL
should not perform any conversion on Windows NT, 2000, XP because it
uses the native Unicode interface that can display UTF-16 encoded
strings.

Today, even on Windows XP, French is not displayed properly, because
accented characters are shown with two glyphs, one for each byte
treated incorrectly as Windows codepage 1252...
We might be talking about different things. What are you
right-clicking on
to see icons? If it's anywhere that brings up the menu with
'Restore',
'Move', 'Size', 'Minimize', 'Maximize' or 'Close' -- those are built
by
Windows. We (and Java) do nothing to make that menu.
Thanks,
Sam
-----Original Message-----
Sent: Tuesday, January 25, 2005 7:18 PM
Subject: Re: [discuss] System Tray Menu
hhmm, perhaps i just never noticed but on Windows when you right
click you
get a little (native looking) menu that has 4 icons and associated
commands.
i was wondering if I could use those icons for my open source
project.
maybe i just noticed because i recently upgraded to java 1.5?
gracias!
randy j.
Subject: Re: [discuss] System Tray Menu
Date: Tue, 25 Jan 2005 11:59:03 -0500
Hi Randy,
Thanks for the nice words... though the windows system tray has
been
there
for, well, ever. Looking back in the features history (
http://www.limewire.com/english/content/features_history.shtml ) ,
it was
added in version 1.6 on 7/12/2001. It's actually probably one of
the
least
touched pieces of code in all of LimeWire, mostly because it is
entirely
100% native code, and we hate playing with native code.
What do you mean by the menu bmps? I'm not aware of any icons or
images
on
menus.
Thanks,
Sam
i love the new windows system tray menu that you guys have
recently
implemented. very native :). are the menu bmps you guys use
available
for use in other open source projects (obviously the code is) or
are
they
off limits like the gui/images icons?
gracias!
randy johnson
_________________________________________________________________
FREE pop-up blocking with the new MSN Toolbar - get it now!
http://toolbar.msn.click-url.com/go/onm00200415ave/direct/01/
_______________________________________________
discuss mailing list
http://www.limewire.org/mailman/listinfo/discuss
_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today -
it's FREE!
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/
_______________________________________________
discuss mailing list
http://www.limewire.org/mailman/listinfo/discuss
_______________________________________________
discuss mailing list
http://www.limewire.org/mailman/listinfo/discuss
Découvrez le nouveau Yahoo! Mail : 250 Mo d'espace de stockage pour vos mails !
Créez votre Yahoo! Mail sur http://fr.mail.yahoo.com/

Loading...