VBcoders Browse New Submit Contact Sign In

No account? Register free

Forgot password?

New FAST Gradient Example 3 different directions

Macro-Pc  (1 Submission)   Windows API Call/Explanation   VB Script   Intermediate   Wed 3rd February 2021

Creates a gradient background (VERY FAST). and much cleaner than the screenshot (crappy jpgs). Can do up to 3 different directions! left to right, top to bottom, and diagonal. Please give me aosme feedback on this n vote plz :)

API Declarations
Public Declare Function CreateSolidBrush Lib "gdi32.dll" (ByVal crColor As Long) As Long
Public Declare Function DeleteObject Lib "gdi32.dll" (ByVal hObject As Long) As Long
Public Declare Function FillRect Lib "user32.dll" (ByVal hdc As Long, ByRef lpRect As RECT, ByVal hBrush As Long) As Long
Public Declare Function GetDeviceCaps Lib "gdi32.dll" (ByVal hdc As Long, ByVal nIndex As Long) As Long

Rate New FAST Gradient Example 3 different directions (3(3 Vote))

Download New FAST Gradient Example 3 different directions

New FAST Gradient Example 3 different directions Comments

No comments yet — be the first to post one!

Post a Comment

0/1000 characters