Digitally Display a CStatic Control



Click here for a larger image.

Environment: Visual C++ V6.0

This control is derived from CStatic. It is bitmapped-based to make it easy for the user to alter the character set. Three sizes of character sets are provided, as can be seen in the example figure above. Features include:

  • Bitmapped-based for easy altering of character set.
  • Single or multilined displays.
  • Scrolls left, right, up, or down at various speeds.
  • Class is derived from CStatic and is easy to use.
  • All colours can be very easily changed.
  • Three character sizes are provided.
  • Optional automatic sizing of CStatic control.
  • Optional auto padding of strings with a supplied character.
  • Support for altering format of supplied bitmap.

Downloads

Download demo project - 156 Kb
Download source - 9 Kb


Comments

  • Very good

    Posted by Legacy on 02/11/2004 12:00am

    Originally posted by: Chandar

    As everybody said it is a great work!!

    There is one thing I noticed. It is not a big deal but worth to mention to a developer like you. The placing of ";" and ":" is wrong in the resource Bitmap, that is finally showing wrong character in the display. Did anybody noticed this? or I may be wrong :-)


    Reply
  • I Hate it

    Posted by Legacy on 12/26/2003 12:00am

    Originally posted by: Sudhakar Chavali

    I thought that I should develop such component to my company. But you did it.
    
    

    Congratulations!!!

    Reply
  • Giving Fatal error

    Posted by Legacy on 09/16/2003 12:00am

    Originally posted by: Arbind Yadav

    Hi All

    It is giving one fatal error.

    fatal error LNK1104: cannot open file "uafxcw.lib"


    How ,we can remove it.

    Arbind Yadav

    Reply
  • This sucks!

    Posted by Legacy on 08/26/2003 12:00am

    Originally posted by: Dogbear

    Just kidding!
    It's great!
    I just thought I'd rock the boat a bit.

    :D

    Reply
  • could be fine, if it would work

    Posted by Legacy on 06/18/2003 12:00am

    Originally posted by: hendrik

    i added two cmatrixstatic-objects to my code. they seem to work properly (scrolling don't work), but the rest of my code gets crazy. file loading routines hang up, coblist-objects do what they want, resources vanish, pointer points to everywhere...

    Reply
  • Timer related issues

    Posted by Legacy on 02/17/2003 12:00am

    Originally posted by: Jay Horak

    I have issues using system timers when I use the CMatrixStatic. I haven't tracked it down yet. (Which is why I checked to see if others have noticed this.) I have a simple dialog that updates controls based on a timer. If I comment out the DDX_ line of code the CMatrix class breaks but the OnTimer() gets called. Swap it and the CMatrixStatic works and the OnTimer() doesn't. I tried not using DoScroll() to avoid using the CMatrixStatis timer functionality--no luck. I have the entire CMatrixStatis working well if I loop updates by hand but not with a timer. On when the CMatrixStatic DDX_ is commented out will the OnTimer events be triggered. (No overlap of the event ID before you ask.)

    Reply
  • great

    Posted by Legacy on 12/25/2002 12:00am

    Originally posted by: aaannn

    thanks for the wonderful pieces,but why i can't compile it in VC++6.0,it said "can't open the file uafxcw.lib"?

    Reply
  • Cool Thing

    Posted by Legacy on 11/26/2002 12:00am

    Originally posted by: vrt

    Now that's a good looking static control.
    Great work.

    Reply
  • A Masterpiece!!! Thanks for Sharing!!!

    Posted by Legacy on 11/24/2002 12:00am

    Originally posted by: Robert V. Krakora

    A Masterpiece!!! Thanks for Sharing!!!

    Reply
  • Thanks

    Posted by Legacy on 11/23/2002 12:00am

    Originally posted by: yjy

    十分感谢您的慷慨!!!!!!!!

    Reply
  • Loading, Please Wait ...

Leave a Comment
  • Your email address will not be published. All fields are required.

Top White Papers and Webcasts

  • Companies undertaking an IT project need to find the right balance between cost and functionality. It's important to start by determining whether to build a solution from scratch, buy an out-of-the-box solution, or a combination of both. In reality, most projects will require some system tailoring to meet business requirements. Decision-makers must understand how much software development is enough and craft a detailed implementation plan to ensure the project's success. This white paper examines the different …

  • Remember getting your first box of LEGOS as a kid? How fun it was putting the pieces together, collaborating with your friends to create something new? Now, as an IT professional, assembling and maintaining a Lego-like collaboration infrastructure isn't what you signed up for. Piecing together disparate systems of record for email, web meetings and other applications is about as painful as stepping on a pile of Legos. Download the e-book to learn how implementing a collaboration system connects systems of …

Most Popular Programming Stories

More for Developers

RSS Feeds

Thanks for your registration, follow us on our social networks to keep up-to-date