响应OnSize函数,利用MoveWindow来控制控件位置和大小 获取分辨率利用下面函数int GetSystemMetrics( int nIndex // system metric or configuration setting to retrieve );SM_CXSCREEN, SM_CYSCREEN Width and height, in pixels, of the screen of the primary display monitor. These are the same values you obtain by callingGetDeviceCaps(hdcPrimaryMonitor, HORZRES/VERTRES).
获取分辨率利用下面函数int GetSystemMetrics(
int nIndex // system metric or configuration setting to retrieve
);SM_CXSCREEN,
SM_CYSCREEN Width and height, in pixels, of the screen of the primary display monitor. These are the same values you obtain by callingGetDeviceCaps(hdcPrimaryMonitor, HORZRES/VERTRES).