In Attached you see where i see size of font in Italian selection dialog
If I choice arial regular size 10 like here
http://www.bigbcreations.com/Images/screenshots/ChooseFont.jpg where are
size:10 in return parameter?


-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Pritpal Bedi
Sent: Wednesday, June 11, 2008 5:01 PM
To: harbour@harbour-project.org
Subject: Re: [Harbour] Wvt_ChooseFont return incorrect parameter


Massimo


Massimo Belgrano-3 wrote:
> 
> Wvt_ChooseFont return incorrect parameter
>  ...
>    ? a_font[3]  // IY RETURN ALWAYS 0
>    
>    Hb_GtInfo( HB_GTI_FONTNAME,a_font[1])
>    Hb_GtInfo( HB_GTI_FONTWIDTH, a_font[2]  )
>    Hb_GtInfo( HB_GTI_FONTSIZE ,a_font[3] )
>  ...
> 

You are again mixing two concepts. Wvt_ChooseFont() is never intented to
be
WVT specific. It is Windows specific. Where do you see the SIZE of a
font in
font selection dialog ? It only contains FontName, Weight, bItalic,
bUnderline, bSubscript only.

To set WVT window to the desired size you need touse other tricks.

One feature I can implement could be HB_GTI_MAXIMIZE which will force
the
window to go maximized state without user clicking the maximize button.
It
may solve your wish but partially.

Regards
Pritpal Bedi
-- 
View this message in context:
http://www.nabble.com/Wvt_ChooseFont-return-incorrect-parameter-tp177770
56p17779983.html
Sent from the Harbour - Dev mailing list archive at Nabble.com.

_______________________________________________
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour

<<attachment: wvt_chooseFont.jpg>>

_______________________________________________
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to