其他分享
首页 > 其他分享> > win32设置窗口的居中显示

win32设置窗口的居中显示

作者:互联网

一 代码

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