在VIEW檔案中的一些訊息回應函式中,怎么呼叫OnDraw(CDC *pDC)函式?
void Cl8View::OnMouseMove(UINT nFlags, CPoint point)
{
// TODO: Add your message handler code here and/or call default
CClientDC dc(this);
dc.TextOutA(point.x,point.y,"滑鼠在此");
//OnDraw(CDC* pDC);
CView::OnMouseMove(nFlags, point);
}
轉載請註明出處,本文鏈接:https://www.uj5u.com/houduan/130817.html
標籤:基礎類
上一篇:MFC 單檔案 Tree的用法
