Hello everybody,
I need to get some data from the user32.dll for some general window & display functions.
I found this to get the data for the window borders and titlebar:
user32 = find free dll()
load dll "user32.dll", user32
win_dll_captiony = call dll(user32,"GetSystemMetrics",4)
win_dll_framesizex = call dll(user32,"GetSystemMetrics",32)
win_dll_framesizey = call dll(user32,"GetSystemMetrics",33)
delete dll user32
Works like a charm! Got screen size dragging and resolutions all working.
Now I need to get the info of the window, when the window is maximised (in windowed mode) to do the same. The above data does not fit. Anyone knows?
If anyone got a list, or another form of reference for possible more data I could get from the user32.dll, you'd make me very happy!
Thanks!
Regards Sph!nx
www.mental-image.net