CRect rect; CWnd *hwin=GetDesktopWindow();//获取桌面窗口句柄 CDC* pDC = hwin->GetWindowDC(); //获取桌面窗口DC hwin->GetWindowRect(&rect);//获取桌面窗口大小 OnBtnBitmap(pDC, rect);
19,468
社区成员
50,698
社区内容
加载中
试试用AI创作助手写篇文章吧