Problem with Skinbuttons()

Problem with Skinbuttons()

Postby driessen » Wed Apr 14, 2010 4:52 pm

Antonio,

Thanks for the download of skins.obj.

Unfortunately I got an error while building : Unresolved external symbol : _HB_FUN_GRADIENTBRUSH

Have I missed something ?
Regards,

Michel D.
Genk (Belgium)
_____________________________________________________________________________________________
I use : FiveWin for (x)Harbour v. 24.07 - Harbour 3.2.0 (February 2024) - xHarbour Builder (January 2020) - Bcc773
User avatar
driessen
 
Posts: 1422
Joined: Mon Oct 10, 2005 11:26 am
Location: Genk, Belgium

Re: Problem with Skinbuttons()

Postby Daniel Garcia-Gil » Wed Apr 14, 2010 5:16 pm

Driessen
Code: Select all  Expand view

function GradientBrush( hDC, nTop, nLeft, nWidth, nHeight, aColors, lVer )

   local hBrush, hBmp, hBmpOld

   hBmp     = CreateCompatibleBitMap( hDC, nWidth, nHeight )
   hBmpOld  = SelectObject( hDC, hBmp )

   GradientFill( hDC, nTop, nLeft, nHeight, nWidth, aColors, lver )

   hBrush   = CreatePatternBrush( hBmp )

   SelectObject( hDC, hBmpOld )
   DeleteObject( hBmpOld )
   DeleteObject( hBmp )


return hBrush
 
User avatar
Daniel Garcia-Gil
 
Posts: 2365
Joined: Wed Nov 02, 2005 11:46 pm
Location: Isla de Margarita

Re: Problem with Skinbuttons()

Postby driessen » Wed Apr 14, 2010 5:40 pm

Daniel,

Thanks a lot for your help.

It works.
Regards,

Michel D.
Genk (Belgium)
_____________________________________________________________________________________________
I use : FiveWin for (x)Harbour v. 24.07 - Harbour 3.2.0 (February 2024) - xHarbour Builder (January 2020) - Bcc773
User avatar
driessen
 
Posts: 1422
Joined: Mon Oct 10, 2005 11:26 am
Location: Genk, Belgium


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Marc Venken and 107 guests