A LED control

10.0

 
License: Freeware
Price:
$0.00
Rated:
Downloads: 2
Op. System: Windows XP/2000/98/Me
Last updated: 2008-12-23
File size: 4 KB
Publisher: viksoe.dk
Related software:

Publisher description for A LED control

A LED control program icon

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

Add your review

User reviews