by Macro-Pc (1 Submission)
Category: Windows API Call/Explanation
Compatability: VB Script
Difficulty: Intermediate
Date Added: Wed 3rd February 2021
Rating:
(3 Votes)
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 DeclarationsPublic 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
Download New FAST Gradient Example 3 different directions (3 KB)