VBcoders Browse New Submit Contact Sign In

No account? Register free

Forgot password?

Frame buffered, all API, scrolling label control

Michael Toye  (6 Submissions)   Custom Controls/Forms/Menus   Intermediate   Wed 3rd February 2021

Labels where all the text doesn't fit due to space constraints. Gah! Here is the solution! Flexbible font face and size, several styles.
All API driven from font creation to frame buffering.

Inputs
Label scrolls when mouse move in the final 10 pixels. where the caption is too long, '...' displayed. Click on the label to stop and disable the scrolling. dbl click to re enable the scrolling backstyle flat, light and dark gradient, vista split gradient style. any font and size.

API Declarations
SetPixel SetRect FillRect CreateFont TextOut SetTextColor StretchDIBits BitBlt CreateCompatibleBitmap CreateCompatibleDC SelectObject GetDC DeleteDC DeleteObject SetBkMode
MulDiv GetDeviceCaps CreateBrushIndirect OleTranslateColor

Rate Frame buffered, all API, scrolling label control (3(3 Vote))

Download Frame buffered, all API, scrolling label control

Frame buffered, all API, scrolling label control Comments

No comments yet — be the first to post one!

Post a Comment

0/1000 characters