void CBbbbbDlg::OnSize(UINT nType, int cx, int cy) 
{
CDialog::OnSize(nType, cx, cy); CRect rcWindow;GetWindowRect(rcWindow);
if(!init) return;
CRect recTmp(rcWindow.right-20,rcWindow.top+20,rcWindow.right-             10,rcWindow.top+30);
ScreenToClient(recTmp);
m_buttonOk.MoveWindow(recTmp);
}
按键移动的位置不对呀,看了一遍msdn相关函数的说明.没看出来什么.求帮助.