一 代码
POINT lefttop;
lefttop.x = (GetSystemMetrics(SM_CXSCREEN) - (rect.right - rect.left)) / 2;
lefttop.y = (GetSystemMetrics(
标签:居中,GetSystemMetrics,right,窗口,POINT,win32,SM,lefttop,rect
来源: https://blog.csdn.net/ming2453755227/article/details/103958484