Hi

A little update, I have examined the sources.

1. These two calls are not readonly. These also sets the SetMode() 
    depending upon the width and height you supply as pixels. So beware.

2. The correct approach is:
    
   To get the entire screen width/height
   
   nScrWidth := hb_getInfo( HB_GTI_DESKTOPWIDTH )
   nScrHeight := hb_gtInfo( HB_GTI_DESKTOPHEIGHT )

   and then base your font parameters onto them.

   HB_GTI_SCREENWIDTH/HEIGHT gives you, and optionally sets 
   ( which you must not unless you are aware what it will change ), the WVG 
   console width and height in pixels.


-----
     enjoy hbIDEing...
        Pritpal Bedi 
http://hbide.vouch.info/
-- 
View this message in context: 
http://harbour-devel.1590103.n2.nabble.com/WVG-problem-tp5113392p5113581.html
Sent from the harbour-devel mailing list archive at Nabble.com.
_______________________________________________
Harbour mailing list (attachment size limit: 40KB)
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to