Re: wxEuphoria screensize
sixs wrote:
>
> My email didn't make much sense. I want the equivelent command in
> wxEuphoria for the win32lib command for getting the screen size.
Check out the "get_sys_metric()" function. This works for me:
-- sample
include wxEuphoria.e
include wxStatusBar.e
constant
win_Main = create( wxFrame, {0,-1,"Screen Size",-1,-1,-1,-1}),
win_StatBar = create( wxStatusBar, { win_Main, 1 } )
atom x, y
x = get_sys_metric( wxSYS_SCREEN_X )
y = get_sys_metric( wxSYS_SCREEN_Y )
set_status_text( win_StatBar, sprintf("%d,%d",{x,y}),0)
wxMain( win_Main )
-=ck
"Programming in a state of EUPHORIA."
http://www.cklester.com/euphoria/
|
Not Categorized, Please Help
|
|