Here it is:
- My desktop resolution is 1024x768
- I change the resolution to 640x480 with XF86VidModeSwitchToMode function
- Now I want to retrieve the screen width, I use the DisplayWidth and DisplayHeight functions but they returns me the resollution is 1024x768!! instead of 640x480… Whats happening? There is other way to retrieve the current desktop resollution???
Thx