Re: Editor

new topic     » goto parent     » topic index » view thread      » older message » newer message
dcuny said...

Anything in the config file strike you as odd here?

x_pos=4294935296 
y_pos=4294935296 
x_size=160 
y_size=38 
You might want to add some sanity checks in. blink

- David

I don't if this is helpful, but i use this to get the display size:

 
xGetSystemMetrics = link_c_func(user32, "GetSystemMetrics", {C_INT}, C_INT) 
 
constant 
SM_CXSCREEN         = 0, 
SM_CYSCREEN         = 1 
 
 
public function getPrimaryDisplaySize() --get size of primary display 
    atom cx, cy 
    cx = c_func( xGetSystemMetrics, { SM_CXSCREEN } ) 
    cy = c_func( xGetSystemMetrics, { SM_CYSCREEN } ) 
     
    return {cx, cy} 
end function 
new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu