Gradient Brush

Gradient Brush

Postby TimStone » Mon Oct 26, 2009 10:18 pm

I tried to use a GradientBrush on the main window of my program but only get a white screen. Does it only work on Dialogs ?
Tim Stone
http://www.MasterLinkSoftware.com
http://www.autoshopwriter.com
timstone@masterlinksoftware.com
Using: FWH 23.10 with Harbour 3.2.0 / Microsoft Visual Studio Community 2022-24 32/64 bit
User avatar
TimStone
 
Posts: 2944
Joined: Fri Oct 07, 2005 1:45 pm
Location: Trabuco Canyon, CA USA

Re: Gradient Brush

Postby Antonio Linares » Tue Oct 27, 2009 2:31 pm

Tim,

is it a MDI window ?

Please post a little example to show the way you are doing it, thanks
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42081
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: Gradient Brush

Postby TimStone » Tue Oct 27, 2009 2:52 pm

I used the example in the Wiki documentation except I used oWnd instead of oDlg. I then tried doing a GradientFill( ) and it worked for my background, so my immediate problem is solved.
Tim Stone
http://www.MasterLinkSoftware.com
http://www.autoshopwriter.com
timstone@masterlinksoftware.com
Using: FWH 23.10 with Harbour 3.2.0 / Microsoft Visual Studio Community 2022-24 32/64 bit
User avatar
TimStone
 
Posts: 2944
Joined: Fri Oct 07, 2005 1:45 pm
Location: Trabuco Canyon, CA USA


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 55 guests