How do add supscript effect to MFC static text?

Posted on 2009-02-16
Last Modified: 2013-12-14
Hi everyone,
Currently I am trying to display some formulas from static control in the windows dialog. I want the subscripts of some parameters display as same size and position as it is shown in the word documentation.

Are there any easy way to solve this interface problems, consider the formulas contain a lot of parameters need to be displayed with small subscripts.

Thanks a lot.
Question by:vedeveloper
    1 Comment
    LVL 19

    Accepted Solution

    The following sample can be a good starting point for you:

    "Using Subscripts and Superscripts When Showing Text in the Device Context"

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    How your wiki can always stay up-to-date

    Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
    - Increase transparency
    - Onboard new hires faster
    - Access from mobile/offline

    Introduction: Load and Save to file, Document-View interaction inside the SDI. Continuing from the second article about sudoku.   Open the project in visual studio. From the class view select CSudokuDoc and double click to open the header …
    Jaspersoft Studio is a plugin for Eclipse that lets you create reports from a datasource.  In this article, we'll go over creating a report from a default template and setting up a datasource that connects to your database.
    THe viewer will learn how to use NetBeans IDE 8.0 for Windows to perform CRUD operations on a MySql database.
    This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.

    759 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

    Need Help in Real-Time?

    Connect with top rated Experts

    12 Experts available now in Live!

    Get 1:1 Help Now