returning desktop settings
Blitz3D Forums/Blitz3D Programming/returning desktop settings
| ||
is there a way to return the current desktop width height and c.depth? |
| ||
Of course:hdc = api_GetDC(api_GetActiveWindow()) cx = api_getdevicecaps(hdc,8) cy = api_getdevicecaps(hdc,10) Col = api_getdevicecaps(hdc,12) You will need user32.decls on your userlibs. Check the codearchives. Cheers. |
| ||
nice one |
| ||
hmm, it returns cannot find api_getdevicecaps, it seems to like the other two calls tho? |
| ||
perhaps api_getdevicecaps is included on the gdi32.dll |
| ||
lol i just worked that out as u wrote this post.. thanks man |