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. How to convert to twips...?

How to convert to twips...?

Scheduled Pinned Locked Moved C / C++ / MFC
questiontutorial
5 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.
  • S Offline
    S Offline
    Sprudling
    wrote on last edited by
    #1

    CRichEditCtrl wants me to set the fontsize in twips, whatever that is. How can I set the font to something like Verdana 9. Sprudling

    M M L 3 Replies Last reply
    0
    • S Sprudling

      CRichEditCtrl wants me to set the fontsize in twips, whatever that is. How can I set the font to something like Verdana 9. Sprudling

      M Offline
      M Offline
      Michael Dunn
      wrote on last edited by
      #2

      20 twips == 1 point --Mike-- Actual sign at the laundromat I go to: "No tinting or dying" Like the Google toolbar? Then check out UltraBar, with more features & customizable search engines! My really out-of-date homepage Big fan of Alyson Hannigan and Jamie Salé.

      S 1 Reply Last reply
      0
      • S Sprudling

        CRichEditCtrl wants me to set the fontsize in twips, whatever that is. How can I set the font to something like Verdana 9. Sprudling

        M Offline
        M Offline
        Manikandan
        wrote on last edited by
        #3

        CFont font; font.CreatePointFont(90,"Verdana"); richctrl.SetFont(&font);

        1 Reply Last reply
        0
        • S Sprudling

          CRichEditCtrl wants me to set the fontsize in twips, whatever that is. How can I set the font to something like Verdana 9. Sprudling

          L Offline
          L Offline
          l a u r e n
          wrote on last edited by
          #4

          1440 twips = 1 inch hmmmm ... wonder why guys don't use the twip measuring system more often? ;P --- situations to avoid #37:
          "good morning ... how many sugars do you take in your coffee ... and what was your name again?"

          1 Reply Last reply
          0
          • M Michael Dunn

            20 twips == 1 point --Mike-- Actual sign at the laundromat I go to: "No tinting or dying" Like the Google toolbar? Then check out UltraBar, with more features & customizable search engines! My really out-of-date homepage Big fan of Alyson Hannigan and Jamie Salé.

            S Offline
            S Offline
            Sprudling
            wrote on last edited by
            #5

            Thanks, this was exactly what I wanted :) Sprudling

            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