Hello everyone,
My project is built when the computer's screen is 1024*768
When I run it on a 800*600 ,all the windows are too large.
So can you tell me how to solve this problem without redraw
all the windows?
thanks a lot
__________________
wangnj
Hello everyone,
My project is built when the computer's screen is 1024*768
When I run it on a 800*600 ,all the windows are too large.
So can you tell me how to solve this problem without redraw
all the windows?
thanks a lot
__________________
wangnj
if your project is an HTML, you can change the width and height into percentage instead of absolute size. :)
when resolution is changing you get a WM_PAINT-msg.
now you can check the new max. window-area with
orCode:GetSystemMetrics(SM_CXSCREEN or SM_CYSCREEN)
if you have special redrawing-things you have to do it yourself.Code:SystemParametersInfo(...)
i'm not sure if this solve your problem?
mikey