- 博客(3)
- 资源 (1)
- 收藏
- 关注
转载 判断鼠标控件是否在某个控件之内
BOOL CtestDlg::PreTranslateMessage(MSG* pMsg) { // TODO: Add your specialized code here and/or call the base class if(pMsg->message == WM_MOUSEMOVE&& pMsg->hwnd != m_hWnd) {
2018-01-25 15:32:21 3136 1
原创 MFC PICTURE控件加载JPG图片
int cx, cy; CImage image; CRect rect; //根据路径载入图片 image.Load(_T("E:\\MyLibrayPhotoShop\\log.jpg")); //获取图片的宽 高度 cx = image.GetWidth(); cy = image.GetHeight();
2018-01-12 10:46:57 1276
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人