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-tp17777056p17779983.html
Sent from the Harbour - Dev mailing list archive at Nabble.com.

_______________________________________________
Harbour mailing list
[email protected]
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to