Infos about the use of GetStockObject() ?

Infos about the use of GetStockObject() ?

Postby ukoenig » Sun Sep 27, 2009 10:31 am

Hello,

are there any Doc's about the use of GetStockObject( ? )
I need it for the Selections for Text-defines inside my VTitle-Tool.
I think it is only used for Pen-Colors. What are the Values for it ?
Found some like :
#Define NULL_PEN 8
hBlackBrush = GetStockObject( 4 )
hWhitePen := GetStockObject ( 6 )

Used for VTitles like :
@ 450, 10 TITLETEXT OF oTitle2 TEXT "FIVEWIN 9.07" FONT oFont3 COLOR 128 PEN GetStockObject( 8 )

It is possible, to select any Setting for the Text.
Only GetStockObject() is still missing :

Image

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.
User avatar
ukoenig
 
Posts: 4043
Joined: Wed Dec 19, 2007 6:40 pm
Location: Germany


Re: Infos about the use of GetStockObject() ?

Postby ukoenig » Sun Sep 27, 2009 1:47 pm

Enrico,

Thank You very much for the Link.
I'm not sure, if it makes sense, to include a variable- or use a defined value.
I will change it and look whats happens.

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.
User avatar
ukoenig
 
Posts: 4043
Joined: Wed Dec 19, 2007 6:40 pm
Location: Germany


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Google [Bot] and 15 guests