In gtwvt work ok displayn GTWVT each 80 row
in gtwvg display olny 40 col
I am using 1920*1200 resolution
http://shup.com/Shup/350916/gtwvgjpg
2010/5/28 Pritpal Bedi
>
>
> Massimo Belgrano wrote:
> >
> > sorry pritpal but what i miss?
> > Why not dispay entire row?
> >
> > I try but in 19
> >
>
Massimo Belgrano wrote:
>
> sorry pritpal but what i miss?
> Why not dispay entire row?
>
> I try but in 19
>
>
>
>SETMODE(25,80)
>clear
>FOR A=0 TO 24
> @ a,0 say
> "1234567890123456789012345678901234567890123456789012345678901234567890123456789"
>next a
>
>wait
>
sorry pritpal but what i miss?
Why not dispay entire row?
I try but in 19
// hbmk2 wvg.prg -gtwvg -gui
REQUEST HB_GT_WVG_DEFAULT
REQUEST HB_GT_WVG
#INCLUDE "HBGTINFO.CH"
function main
set color to "N/W,N/BG,,,N/W*"
cls
SETMODE(25,80)
hb_gtInfo( HB_GTI_ICONFILE, "sample.ico" )
hb_gt
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(
Em 28/5/2010 12:01, Pritpal Bedi escreveu:
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.
Yes.
But the return HB_GTINF
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(s