This is a LED control. I never quite understood why they are so popular, because there can't possibly be that many applications where they are needed. But, nevertheless, a WTL LED control was suggested by a site reader.
The control displays Digits and a number of commonly used glyphs (colon, comma, etc.). The size of the text is governed by the height of the control, but can be refined by increasing the margins around the text.
The LED control supports the custom draw service, which gives the ability to customize the appearance of the LED text. When a control provides this service, it sends the NM_CUSTOMDRAW message at specific times during drawing operations. The lParam parameter of the NM_CUSTOMDRAW message is a pointer to an NMLEDCUSTOMDRAW structure, which contains the information that is necessary to draw the customized text. It is possible to use the WTL CCustomDraw class to catch these messages. There is also a number of settings in the custom draw structure that can be changed during the OnPrePaint phase. If you wish to paint your own LED segments, use the OnItemPrePaint phase to custom draw each character