Jumpy Text Class
Posted
by Fabian Toader
on December 2nd, 1999
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 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.
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 KbDownload source - 4.77 Kb
Comments
Urgent help
Posted by Legacy on 05/03/2001 12:00amOriginally posted by: Hoa AN
Dear sir,
Can you help me to overcome the following problem:
I want to have a static text control in VC++ 6.0 that has background transparent just like a label control in VB that has BackStyle set to TRANSPARENT. Because I want to use this static text to display text over an image background on a dialog box.
Thanks for you help.
H.A
Replyuse float values in gradient generation
Posted by Legacy on 01/29/2001 12:00amOriginally posted by: Achim Hentschel
Greate Work.But I need a help
Posted by Legacy on 01/10/2001 12:00amOriginally posted by: Arun Jose
But how could u make a static control to capture BN_CLICKED message.ie. if I click on a static box it should fire an event.Have u got any idea .If do pls mail me thank u.
ReplyGood job Fabian Toader. Thank you.
Posted by Legacy on 02/23/2000 12:00amOriginally posted by: De Tran
Very cool
Posted by Legacy on 01/19/2000 12:00amOriginally posted by: Jason Hattingh
Thanks for that - I like it. Very well presented demo project, too.
Jason
ReplyGreat job...but could be greater....
Posted by Legacy on 12/03/1999 12:00amOriginally posted by: Dani alias Zizi
HA HA
Reply