如何得到DoModal时,窗口在整个屏幕上的位置及大小

2025-05-05 04:28:30
推荐回答(1个)
回答1:

参考函数
CRect rc;
GetWindowRect(&rc);
ClientToScreen(&rc);
int nHeight = rc.Height();
int nWidth = rc.Width();