VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



Frame buffered, all API, scrolling label control

by Michael Toye (6 Submissions)
Category: Custom Controls/Forms/Menus
Difficulty: Intermediate
Date Added: Wed 3rd February 2021
Rating: (3 Votes)

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

Download Frame buffered, all API, scrolling label control

Download Frame buffered, all API, scrolling label control (5 KB)

Frame buffered, all API, scrolling label control Comments

No comments have been posted about Frame buffered, all API, scrolling label control. Why not be the first to post a comment about Frame buffered, all API, scrolling label control.

Post your comment

Subject:
Message:
0/1000 characters