FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Error of graphic with folder
Posts: 3107
Joined: Fri Oct 07, 2005 06:28 PM
Error of graphic with folder
Posted: Sat Mar 13, 2010 08:30 PM
look it please



I insert only a function of Uwe to make the folder transparent on a dialog

...
FUNCTION FoldBack( oFld, oImage1, oImage2 )

oFld:aDialogs[ 1 ]:bPainted = { | hDC | GradientFill( hDC, 0, 0, oFld:aDialogs[ 1 ]:nHeight, ;
oFld:aDialogs[ 1 ]:nWidth, { { 0.50, 14853684, 16314573 }, ;
{ 0.50, 16314573, 14853684 } }, .T. ) }

*oFld:aDialogs[ 2 ]:bPainted = { | hDC | oFld:aDialogs[ 2 ]:SetBrush( oBrush1 ) }

oFld:aDialogs[ 2 ]:bPainted = { | hDC | PalBmpDraw( hDC, 0, 0, oImage1:hBitmap, , ;
oFld:aDialogs[ 2 ]:nWidth, oFld:aDialogs[ 2 ]:nHeight, , .T. ) }

oFld:aDialogs[ 3 ]:bPainted = { | hDC | PalBmpDraw( hDC, 0, 0, oImage2:hBitmap, , ;
oFld:aDialogs[ 3 ]:nWidth, oFld:aDialogs[ 3 ]:nHeight, , .T. ) }

oFld:aDialogs[ 4 ]:bPainted = { | hDC | PalBmpDraw( hDC, 0, 0, oImage1:hBitmap, , ;
oFld:aDialogs[ 4 ]:nWidth, oFld:aDialogs[ 4 ]:nHeight, , .T. ) }

oFld:aDialogs[ 5 ]:bPainted = { | hDC | PalBmpDraw( hDC, 0, 0, oImage1:hBitmap, , ;
oFld:aDialogs[ 5 ]:nWidth, oFld:aDialogs[ 5 ]:nHeight, , .T. ) }

oFld:aDialogs[ 6 ]:bPainted = { | hDC | PalBmpDraw( hDC, 0, 0, oImage1:hBitmap, , ;
oFld:aDialogs[ 6 ]:nWidth, oFld:aDialogs[ 6 ]:nHeight, , .T. ) }

RETURN NIL



why it make another folder near to last folder ?
Best Regards, Saludos



Falconi Silvio
Posts: 4043
Joined: Wed Dec 19, 2007 06:40 PM
Re: Error of graphic with folder
Posted: Sat Mar 13, 2010 09:13 PM

Hello Silvio,

The Folder-Tabs are clean painted like You can see inside the following :

viewtopic.php?f=3t=18319

there is still a lot to do, to fix everything.
The backgrounds, I loaded inside a For / Next ( changed )
I can put the Display-Stucture inside this toppic.

Best Regards
Uwe :lol:

&

Since 1995 ( the first release of FW 1.9 )

i work with FW.

If you have any questions about special functions, maybe i can help.
Posts: 3107
Joined: Fri Oct 07, 2005 06:28 PM
Re: Error of graphic with folder
Posted: Sat Mar 13, 2010 09:19 PM

i NOT UNDERSTAND HOW CORRECT IT

Best Regards, Saludos



Falconi Silvio

Continue the discussion