WVW - screen resolution
From
timepro timesheet@21:1/5 to
All on Mon Apr 3 23:32:07 2023
hi:
my app is in xhb+WVW+ps32+dbf
-howto/what code for screens with higher/diff. resolutions.
*this works ok if 768 X 1366
wvw_setcodepage(,255);wvw_setpaintrefresh(150) ScreenWidth:=Wvw_GetScreenWidth()
ScreenHeight:=Wvw_GetScreenHeight()
SetMode(25,80)
nNewHeight=int(ScreenHeight/maxrow() * 0.85)
nNewWidth=Int( ScreenWidth/maxcol()-.5)
wvw_SetFont(, 'Courier New', nNewHeight, nNewWidth,900) wvw_seticon(,100);wvw_enablemaximize(,.t.)
*
thanks
--- SoupGate-Win32 v1.05
* Origin: fsxNet Usenet Gateway (21:1/5)