Jumpy Text Class | CodeGuru

Jumpy Text Class

Environment: VC6 SP2, NT4 SP5, CE 2.11 This class is derived from CStatic and presents a special effect that will kick your ass. It is very simple to use and I hope you’ll enjoy it very much. Here is how you use this class: 1. Download the source code. 2. Insert the .h and .cpp […]

Written By
CodeGuru Staff
CodeGuru Staff
Dec 2, 1999
1 minute read
CodeGuru content and product recommendations are editorially independent. We may make money when you click on links to our partners. Learn More

Environment: VC6 SP2, NT4 SP5, CE 2.11

Sample Image

This class is derived from CStatic and presents a special effect that will kick your ass.
It is very simple to use and I hope you’ll enjoy it very much.
Here is how you use this class:

    1. Download the source code.
    2. Insert the .h and .cpp files into your project.
    3. Add a static control into your dialog resource.
    4. Add a member variable for that static control.
    5. Modify the varible declaration.

Change this:

    CStatic m_ctrlYourStaticControl;

To this:

    CJumpyDraw m_ctrlYourStaticControl;
    6. In your InitDialog message handler set the JumpyText parameters. Use these member functions:
    SetCharHeight()
    SetText()
    7. When you want to start the animation call StartJumpyText.

Downloads

Download demo project (including Release build) – 137 Kb
Download source – 4.77 Kb

CodeGuru Logo

CodeGuru covers topics related to Microsoft-related software development, mobile development, database management, and web application programming. In addition to tutorials and how-tos that teach programmers how to code in Microsoft-related languages and frameworks like C# and .Net, we also publish articles on software development tools, the latest in developer news, and advice for project managers. Cloud services such as Microsoft Azure and database options including SQL Server and MSSQL are also frequently covered.

Property of TechnologyAdvice. © 2026 TechnologyAdvice. All Rights Reserved

Advertiser Disclosure: Some of the products that appear on this site are from companies from which TechnologyAdvice receives compensation. This compensation may impact how and where products appear on this site including, for example, the order in which they appear. TechnologyAdvice does not include all companies or all types of products available in the marketplace.