Thanks for that Ruby, I think you've given me an idea for finding out when classic mode is enabled.
Are you talking about GetSystemMetrics? I tried that already but it didn't prove helpful. The issue I referenced (on AutoIt) earlier has been fixed
No, the Desktop 'WindowMetrics', pertaining to 'Caption', 'Menu', 'Message', 'Scroll', etc.., 'Width', 'Height', etc.., 'Font', etc..
Speaking of 'GetSystemMetrics', you may be interested to know (if you don't already) that there is an alternative to 'Center' window that uses a function of void type, i.e. doesn't return a value.
void CenterWindow(HWND hwnd_self)
RECT rw_self, rc_parent, rw_parent; HWND hwnd_parent;
hwnd_parent = GetParent(hwnd_self);
if (hwnd_parent==NULL) hwnd_parent = GetDesktopWindow();
rw_parent.left + (rc_parent.right + rw_self.left - rw_self.right) / 2,
rw_parent.top + (rc_parent.bottom + rw_self.top - rw_self.bottom) / 2,
This will center the window using the H x W parameters you define in 'hwnd' (CreateWindow) irregardless of X and Y, no need to half your window size for X and Y.
Sorry for the OT, back to your regularly scheduled program.