Originally posted by: F.Cartier
Really useful and simple object.
Originally posted by: Angel Godd-Santana
This is an excellent class and is very simple to implement with great results.
Thanks a million
Angel Godd-Santana
System Administrator
Historical Research Center Int'l
names.com
Originally posted by: gjraynor
Great control - but the Tooltips feature doesn't seem to work??
ReplyOriginally posted by: Kevin
if implementing WM_PAINT message in CLabel (or other static control), every time when showing the CLabel parent window(eg. Dialog box) first time, the CLabel always show the background color of the dialog box and no text of CLabel is shown(you can call CLabel::SetBkColor set a different background color first). How to show correctly?
Thanks
Kevin
Originally posted by: lm037
I love the code, and have used it on dialog, but cant seem to get it to work on CFormView, I am new at this. Thanks for the help
ReplyOriginally posted by: david
Thanks for this very nice Class, I have one question however:
I tried to figure out a way of adding scrolling ability to the class.
To do so I redirected all NC messages to the DefWinproc:
void CNewLabel::OnNcLButtonUp(UINT nHitTest, CPoint point)
{
::DefWindowProc(m_hWnd, WM_NCLBUTTONUP, nHitTest, MAKELPARAM(point.x, point.y));
}
Now I can interact with my scrollbars, but they do not make what they are paid for: they do not scroll the text...
What I am missing ??
Thanks!
David
Reply
Originally posted by: Daniel
and set a good color, voila LCD style counter!
glad i found it!
CLabel the better CStatic!
i just wanted an easy way to change font size and i found something to make a quick LCD/LED style counter
use SetSunken, SetFontName("LCD"); (which i d/l from the net)
Originally posted by: dEdE
Very thanx, CStatic base class should be like this :)
Originally posted by: Pokemon
Lots of fonts to use...
How can I use other font?
ReplyOriginally posted by: Alaoui Ali
This is all what I wanted Thank you :)