void CBNSREDDlg::OnSize(UINT nType, int cx, int cy) CDialogEx::OnSize(nType, cx, cy); GetClientRect(&recta); //取客户区大小 Newp.x = recta.right - recta.left; Newp.y = recta.bottom - recta.top; fsp[0] = (float)Newp.x / old.x; fsp[1] = (float)Newp.y / old.y; CPoint OldTLPoint, TLPoint; //左上角 CPoint OldBRPoint, BRPoint; //右下角 HWND hwndChild = ::GetWindow(m_hWnd, GW_CHILD); //列出所有控件 woc = ::GetDlgCtrlID(hwndChild);//取得ID GetDlgItem(woc)->GetWindowRect(Rect); OldTLPoint = Rect.TopLeft(); TLPoint.x =...
CRect rectWhole Dlg
Is this you? As a journalist, you can create a free Muck Rack account to customize your profile, list your contact preferences, and upload a portfolio of your best work.
Claim your profile
Get in touch with CRect rectWhole
Contact CRect rectWhole, search articles and posts on X, monitor coverage, and track replies from one place.
Learn more about Muck Rack