Itamar Lins-2 wrote:
>
>
> My desktop is 1280 X 800 pixels.
> I am using function:
>
> SCWIDTH:=HB_GTINFO(HB_GTI_SCREENWIDTH, HB_GTINFO(HB_GTI_DESKTOPWIDTH))
>
> scHEIGHT:=HB_GTINFO(HB_GTI_SCREENHEIGHT,HB_GTINFO(HB_GTI_DESKTOPHEIGHT)-50)
>
> msginfo(str(scWIDTH)) //return 640
> msginfo(str(scHEIGHT)) //return 400
>
> How to the function to get real 1280 x 800 ?
>
SCWIDTH:=HB_GTINFO(HB_GTI_SCREENWIDTH) is readonly
scHEIGHT:=HB_GTINFO(HB_GTI_SCREENHEIGHT) is readonly
You cannot set the screenwidth/height of an console.
This can only be done in SetMode() or through font manipulation.
-----
enjoy hbIDEing...
Pritpal Bedi
http://hbide.vouch.info/
--
View this message in context:
http://harbour-devel.1590103.n2.nabble.com/WVG-problem-tp5113392p5113445.html
Sent from the harbour-devel mailing list archive at Nabble.com.
_______________________________________________
Harbour mailing list (attachment size limit: 40KB)
[email protected]
http://lists.harbour-project.org/mailman/listinfo/harbour