[gui-dev] RE: [discuss] System Tray Menu

Philippe Verdy <[email protected]> Thu, 27 Jan 2005 19:18:56 +0100 (CET)
Newsgroups gmane.network.gnutella.limewire.gui.devel,gmane.network.gnutella.limewire.general
Message-ID <[email protected]>
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...

 --- Sam Berlin <[email protected]> a écrit : 
> 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-----
> > From: [email protected] [mailto:discuss-
> > [email protected]] On Behalf Of Randy Johnson
> > Sent: Tuesday, January 25, 2005 7:18 PM
> > To: [email protected]
> > 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.
> > 
> > >From: Sam Berlin <[email protected]>
> > >To: "Randy Johnson" <[email protected]>
> > >CC: [email protected]
> > >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
> > >
> > >On Jan 21, 2005, at 2:46 AM, Randy Johnson wrote:
> > >
> > >>
> > >>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
> > >>[email protected]
> > >>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
> > [email protected]
> > http://www.limewire.org/mailman/listinfo/discuss
> 
> _______________________________________________
> discuss mailing list
> [email protected]
> 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/
_______________________________________________
gui-dev mailing list
[email protected]
http://www.limewire.org/mailman/listinfo/gui-dev