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. Adding Text With Superscript to Dialog Title Bar

Adding Text With Superscript to Dialog Title Bar

Scheduled Pinned Locked Moved C / C++ / MFC
c++graphicshelpannouncement
2 Posts 2 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.
  • D Offline
    D Offline
    Doug Knudson
    wrote on last edited by
    #1

    Hi, My current task is to find a way to add superscripted text to the title bar of a CDialog based window, as in "MyWindowsuperscript". My first thought was that there must be some control characters to embed in a CString that when sent to CWnd::SetWindowText(superscriptedText)would cause the text to be rendered. No luck on this front. Undaunted, I thought about making the superscripted text a graphic and drawing it in the Title Bar. I haven't been able to find any guidance on this approach for a CDialog derived class. Any help greatly appreciated! I'm working in Visual C++ Version 6. Thanks, Doug Doug Knudson

    R 1 Reply Last reply
    0
    • D Doug Knudson

      Hi, My current task is to find a way to add superscripted text to the title bar of a CDialog based window, as in "MyWindowsuperscript". My first thought was that there must be some control characters to embed in a CString that when sent to CWnd::SetWindowText(superscriptedText)would cause the text to be rendered. No luck on this front. Undaunted, I thought about making the superscripted text a graphic and drawing it in the Title Bar. I haven't been able to find any guidance on this approach for a CDialog derived class. Any help greatly appreciated! I'm working in Visual C++ Version 6. Thanks, Doug Doug Knudson

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

      This is the article you probably want http://www.codeproject.com/gdi/customcaption.asp?target=lorde[^] Roger Allen Sonork 100.10016 Were you different as a kid? Did you ever say "Ooohhh, shiny red" even once? - Paul Watson 11-February-2003

      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