Hi,
I've been translated code from FreeBasic to AutoIt. And it didn't work correctly.
Please help me!
FreeBasic:
#Include Once "windows.bi"
#Define _RGB(r,g,b) BGR(b,g,r)
CONST GRADIENT_FILL_RECT_H = 0
CONST GRADIENT_FILL_RECT_V = 1
Dim Shared hInstance As HINSTANCE
' This dll is located in Windows directory
DECLARE FUNCTION Gradientfill Lib "MSIMG32" ALIAS "GradientFill" _
(hDC AS HDC, pVertex As PTRIVERTEX, dwNumVertex As Integer,pMesh AS PGRADIENT_RECT, dwNumMesh As Integer, dwMode As Integer) As Integer