Results 1 to 11 of 11

Thread: Trademark (TM) symbol in titlebar

  1. #1

    Thread Starter
    Frenzied Member trisuglow's Avatar
    Join Date
    Jan 2002
    Location
    Horsham, Sussex, UK
    Posts
    1,536

    Trademark (TM) symbol in titlebar

    My application puts a Trademark (TM) symbol in the titlebar as a superscript "TM". On most target PCs it is displayed as expected. On some, however, it is displayed as a vertical bar.

    The application is intended for use everywhere in the world and supports a number of different (spoken) languages.

    Can anybody suggest what I need to do to fix this?
    This world is not my home. I'm just passing through.

  2. #2
    I wonder how many charact
    Join Date
    Feb 2001
    Location
    Savage, MN, USA
    Posts
    3,704
    post your code

  3. #3
    Frenzied Member dynamic_sysop's Avatar
    Join Date
    Jun 2003
    Location
    Ashby, Leicestershire.
    Posts
    1,142
    you will need to set the Form's font to something like Tahoma or Verdana , if you use a font like the default microsoft ones it will only show a bar rather than ™
    ~
    if a post is resolved, please mark it as [Resolved]
    protected string get_Signature(){return Censored;}
    [vbcode][php] please use code tags when posting any code [/php][/vbcode]

  4. #4

    Thread Starter
    Frenzied Member trisuglow's Avatar
    Join Date
    Jan 2002
    Location
    Horsham, Sussex, UK
    Posts
    1,536
    Thanks for your replies.

    I'm posting a sample project that takes Dynamic_SysOp's comments into account.

    I see the problem on my Win98 PC at home. The problem has also been reported from Germany (I have sent them the code and am waiting for their reply)

    I don't understand why the standard font (MS Sans Serif) works on some PCs and not on others. Surely this font is available on all installations? Is the TM symbol actually part of another font?
    Attached Files Attached Files
    This world is not my home. I'm just passing through.

  5. #5
    Frenzied Member dynamic_sysop's Avatar
    Join Date
    Jun 2003
    Location
    Ashby, Leicestershire.
    Posts
    1,142
    well on my machine , running xp pro. the trademark symbol wont show with MS Sans Serif , it only shows as a line.
    this also happened in vb6 when running xp home edition / ME
    hence using a different font like verdana or tahoma
    ~
    if a post is resolved, please mark it as [Resolved]
    protected string get_Signature(){return Censored;}
    [vbcode][php] please use code tags when posting any code [/php][/vbcode]

  6. #6

    Thread Starter
    Frenzied Member trisuglow's Avatar
    Join Date
    Jan 2002
    Location
    Horsham, Sussex, UK
    Posts
    1,536
    My colleague in Germany tried the code I sent (see earlier) and reported that the TM symbol didn't show up in Tahoma or Verdana either. Any further thoughts?
    This world is not my home. I'm just passing through.

  7. #7

    Thread Starter
    Frenzied Member trisuglow's Avatar
    Join Date
    Jan 2002
    Location
    Horsham, Sussex, UK
    Posts
    1,536

    [BUMP]

    My German colleague reports that his PC is running Win2000 SP4. He is still getting the vertical bar in MS Sans Serif, Tahoma and Verdana. Can anyone suggest what I might do to fix the problem?
    This world is not my home. I'm just passing through.

  8. #8

    Thread Starter
    Frenzied Member trisuglow's Avatar
    Join Date
    Jan 2002
    Location
    Horsham, Sussex, UK
    Posts
    1,536
    I think we've almost got to the bottom of this.

    Windows allows the user to specify a desktop schema in which they can select different fonts for Title Bars etc. The standard windows schema uses Tahoma for all Title Bars (which is fine for my TM symbol). If the user selects MS Sans Serif though the symbol is not displayed correctly.

    So, I have a new question:

    How can I override the desktop schema from my application? I've tried specifying the font for $this in the resource file of my main form, but this doesn't seem to work.

    Any ideas?
    This world is not my home. I'm just passing through.

  9. #9
    PowerPoster
    Join Date
    Mar 2002
    Location
    UK
    Posts
    4,780
    Im not sure you can, its set that way so the user gets there own look and feel. I suppose you could create a form that does not have a title bar, and use a label instead, mimiking the windows style.

    Ill check my API book.

  10. #10

    Thread Starter
    Frenzied Member trisuglow's Avatar
    Join Date
    Jan 2002
    Location
    Horsham, Sussex, UK
    Posts
    1,536
    Thanks Grimfort. What you've described is the way I would have expected it to work - if the user specifies a font for titlebars they would not expect individual applications to override it.

    I'm not going to try to create my own Title Bar emulation - I've found that kind of thing always causes problems. My users will just have to live with funny-looking text if they select their own font. I guess you could argue that if they've selected a font that doesn't support TM then they should expect not to see it... On the other hand, there are good reasons (e.g. protecting our brand name) why we want TM to appear on the titlebar. However, seeing as it comes up ok in the license agreement and the About box I don't think I'm going to lose too much sleep.
    This world is not my home. I'm just passing through.

  11. #11
    Fanatic Member LITHIA's Avatar
    Join Date
    Dec 2002
    Location
    UK, England
    Posts
    575
    I wouldn't entirely give up if i was you. There has to be some sort of way to override the font on the title bar - it would be stupid if there wasn't.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width