博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

2008年11月17日

摘要: 方法一: CRect rt; int screenW; int screenH; CWnd* pDeskTop = this->GetDesktopWindow(); pDeskTop->GetClientRect(rt); screenW = rt.Width(); screenH = rt.Height(); 方法二: int x = GetSystemMetrics(SM_CXFULLSC... 阅读全文

posted @ 2008-11-17 17:44 浪端之渡鸟 阅读(717) 评论(0) 推荐(0)

摘要: 将JPG图片绘制在对话框背景上: 显示JPG图片的函数 void CMyDlg::ShowPicture(CDC *pDC, CString m_strBRoute, int x, int y, int width, int height) { HANDLE hFile = CreateFile(m... 阅读全文

posted @ 2008-11-17 16:20 浪端之渡鸟 阅读(1294) 评论(2) 推荐(0)