Article View: borland.public.jbuilder.java.language
Article #17059Re: How do I put a "(TM)" symbol in dialog caption bar?
From: Steve Schafer (TeamB)
Date: Wed, 16 Dec 1998 00:00
Date: Wed, 16 Dec 1998 00:00
18 lines
1396 bytes
1396 bytes
On Wed, 16 Dec 1998 14:26:53 -0600, "Dr. Matt H. Stevens" <mhstevens@mmm.com> wrote: >So How do I change the default font assignment for the caption bar to, >say "MS Dialog" which is a valid (*.fon) bitmap font and contains the >Alt+0153 (�) trademark character. You can't change it for just one window. If you change it, it will affect all windows on the system. And that's generally considered to be poor form without the user's permission. If this were an ordinary (non-Java) window application, you would be able to draw anything you want on the caption by intercepting WM_NCPAINT messages. I don't know of any way to get that level of control in a Java application (unless you use the Microsoft VM with its hooks into the operating system). -Steve
Technical Details
Message-ID:
<36dc48f2.239020363@90.0.0.40>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<3676E858.E7512F53@mmm.com> <36a90523.156112982@90.0.0.40> <3678178D.58A0AAC1@mmm.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII X-Google-Thread: f74b3,8731a3c6693330b5 X-Google-Attributes: gidf74b3,public From: pandeng@telepath.com (Steve Schafer (TeamB)) Subject: Re: How do I put a "(TM)" symbol in dialog caption bar? Date: 1998/12/16 Message-ID: <36dc48f2.239020363@90.0.0.40> X-Deja-AN: 423063757 Content-Transfer-Encoding: 8bit References: <3676E858.E7512F53@mmm.com> <36a90523.156112982@90.0.0.40> <3678178D.58A0AAC1@mmm.com> Content-Type: text/plain; charset=ISO-8859-1 Organization: TeamB Mime-Version: 1.0 Reply-To: pandeng@telepath.com Newsgroups: borland.public.jbuilder.java.language