Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. Superscipt in sourcecode/dialog caption

Superscipt in sourcecode/dialog caption

Scheduled Pinned Locked Moved C / C++ / MFC
helpquestion
8 Posts 4 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • J Offline
    J Offline
    John Oliver
    wrote on last edited by
    #1

    Hello, I'm writing an application which displays physical units for velocity, density etc in a Dialog. Some require parts of the units to appear in superscript e.g. m/^s and kg/m^3. I have access to some source code which contains the superscript characters for 1 ,2 , and 3, so I'm able to copy and paste these characters when I need them. I now need the superscript for '4'. I'm hoping to avoid Unicode fonts for as long as possible. Can anybody help me? Thanks, John

    J R 2 Replies Last reply
    0
    • J John Oliver

      Hello, I'm writing an application which displays physical units for velocity, density etc in a Dialog. Some require parts of the units to appear in superscript e.g. m/^s and kg/m^3. I have access to some source code which contains the superscript characters for 1 ,2 , and 3, so I'm able to copy and paste these characters when I need them. I now need the superscript for '4'. I'm hoping to avoid Unicode fonts for as long as possible. Can anybody help me? Thanks, John

      J Offline
      J Offline
      Joaquin M Lopez Munoz
      wrote on last edited by
      #2

      If your app is a non-commercial one, GipsySoft's QHTM Ultra small Win32 HTML control[^] can be used for free and seems a good option. Joaquín M López Muñoz Telefónica, Investigación y Desarrollo

      J 1 Reply Last reply
      0
      • J John Oliver

        Hello, I'm writing an application which displays physical units for velocity, density etc in a Dialog. Some require parts of the units to appear in superscript e.g. m/^s and kg/m^3. I have access to some source code which contains the superscript characters for 1 ,2 , and 3, so I'm able to copy and paste these characters when I need them. I now need the superscript for '4'. I'm hoping to avoid Unicode fonts for as long as possible. Can anybody help me? Thanks, John

        R Offline
        R Offline
        Roger Allen
        wrote on last edited by
        #3

        You could write your own variant of CStatic which could display superscipt characters. When it comes to captions in dialogs take a look at customcaption.asp[^]. This oculd be adapted to draw superscipt characters as well. Roger Allen Sonork 100.10016 WHats brown and sticky? A stick or some smelly stuff!

        J 1 Reply Last reply
        0
        • J Joaquin M Lopez Munoz

          If your app is a non-commercial one, GipsySoft's QHTM Ultra small Win32 HTML control[^] can be used for free and seems a good option. Joaquín M López Muñoz Telefónica, Investigación y Desarrollo

          J Offline
          J Offline
          John Oliver
          wrote on last edited by
          #4

          thanks but unfortunately it is a commerical app

          J 1 Reply Last reply
          0
          • R Roger Allen

            You could write your own variant of CStatic which could display superscipt characters. When it comes to captions in dialogs take a look at customcaption.asp[^]. This oculd be adapted to draw superscipt characters as well. Roger Allen Sonork 100.10016 WHats brown and sticky? A stick or some smelly stuff!

            J Offline
            J Offline
            John Oliver
            wrote on last edited by
            #5

            thanks, i can use this sort of thing for lots of issues I've been having

            1 Reply Last reply
            0
            • J John Oliver

              thanks but unfortunately it is a commerical app

              J Offline
              J Offline
              Joel Lucsy
              wrote on last edited by
              #6

              John Oliver wrote: thanks but unfortunately it is a commerical app No it's not. The dll is free to use, only the source code costs money.:omg: Joel Lucsy

              J 1 Reply Last reply
              0
              • J Joel Lucsy

                John Oliver wrote: thanks but unfortunately it is a commerical app No it's not. The dll is free to use, only the source code costs money.:omg: Joel Lucsy

                J Offline
                J Offline
                John Oliver
                wrote on last edited by
                #7

                sorry, I meant my application is commercial

                J 1 Reply Last reply
                0
                • J John Oliver

                  sorry, I meant my application is commercial

                  J Offline
                  J Offline
                  Joel Lucsy
                  wrote on last edited by
                  #8

                  John Oliver wrote: sorry, I meant my application is commercial Ok, then I've missed your point. We use in our commercial apps. Joel Lucsy

                  1 Reply Last reply
                  0
                  Reply
                  • Reply as topic
                  Log in to reply
                  • Oldest to Newest
                  • Newest to Oldest
                  • Most Votes


                  • Login

                  • Don't have an account? Register

                  • Login or register to search.
                  • First post
                    Last post
                  0
                  • Categories
                  • Recent
                  • Tags
                  • Popular
                  • World
                  • Users
                  • Groups