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