|
-
March 27th, 2005, 06:03 PM
#1
draw chart on a picture control in dialog form?
I have a picture control in a dialog form and I use
CWnd *pWnd = (CWnd*)GetDlgItem(IDC_GRAPH_FRAME);
CDC *pDC = pWnd->GetDC ();
to get pDC and use it draw some lines on the picture. However, it seems the picture control does not update it automatically. So, if I have another window to cover the dialog form, after I move the window, the picture on dialog form will NOT refresh itself. If the project has doc/view, I can use OnDraw(). It is a dialog based form, What I should I?
thanks
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|