[Webinar] Streamline your web hosting managementRegister Today

x
?
Solved

TM symbol as a superscript in Static Text?

Posted on 1999-12-08
8
Medium Priority
?
257 Views
Last Modified: 2013-12-03
Hi ,

  How do I display the TM symbol as a superscript in a static text?

  Any solutions, please?

Shiva

Shiva@indusaglobal.com
0
Comment
Question by:nsivatg
  • 4
  • 4
8 Comments
 
LVL 11

Expert Comment

by:mikeblas
ID: 2266668
Static text controls don't support superscript.

..B ekiM
0
 

Author Comment

by:nsivatg
ID: 2266697
So, How do I achieve displaying super script? Any solution?

0
 
LVL 11

Accepted Solution

by:
mikeblas earned 20 total points
ID: 2269775
Draw the text yourself using TextOut() or DrawText().

..B ekiM
0
Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

 

Author Comment

by:nsivatg
ID: 2269797
Can you please give me a sample code with super script in it.

Siva
0
 

Author Comment

by:nsivatg
ID: 2269801
I need the label to appear on a dialog box.

Thanks

Shiva

Shiva@indusaglobal.com
0
 
LVL 11

Expert Comment

by:mikeblas
ID: 2270346
Not for 10 points, sorry.

..B ekiM
0
 

Author Comment

by:nsivatg
ID: 2272170
How many points do you need?
0
 
LVL 11

Expert Comment

by:mikeblas
ID: 2274089
I guess 100.

But the more important trick is a specification. Do you want to just draw the text? Do you want to supply a rectangle, or have it drawn into an existing control?

What do you consider "superscript"? How high off the basline? How much smaller would the superscripted text be, in points, compared to the original font?

If I remember right, most people use a font half the size and 2/3rds the height from the baseline. But that might be wrong, and it might be subject to some artistic interpretation.

..B ekiM
0

Featured Post

Get your problem seen by more experts

Be seen. Boost your question’s priority for more expert views and faster solutions

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If you have ever found yourself doing a repetitive action with the mouse and keyboard, and if you have even a little programming experience, there is a good chance that you can use a text editor to whip together a sort of macro to automate the proce…
For a while now I'v been searching for a circular progress control, much like the one you get when first starting your Silverlight application. I found a couple that were written in WPF and there were a few written in Silverlight, but all appeared o…
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…
How to fix display issue, screen flickering issue when I plug in power cord to the machine. Before I start explaining the solution lets check out once the issue how it looks like after I connect the power cord. most of you also have faced this…

591 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question