Thanks jcl.

Frederick, you can already get the native screen resolution wich the user has set in windows with sys_metrics:

Code:

int desktop_size[2]; // store resolution
desktop_size[0] = sys_metrics(0); // SM_CXSCREEN X
desktop_size[1] = sys_metrics(1); // Y



Last edited by ulf; 01/29/08 07:47.