FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Gradient Brush
Posts: 3022
Joined: Fri Oct 07, 2005 01:45 PM
Gradient Brush
Posted:

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
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: Gradient Brush
Posted: Tue Oct 27, 2009 02: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
Posts: 3022
Joined: Fri Oct 07, 2005 01:45 PM
Re: Gradient Brush
Posted: Tue Oct 27, 2009 02: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

Continue the discussion