picture control(ie., rectangle)
Posted on 2004-08-02
In MFC, I have a picture control(ie., rectangle). The video will be displayed there. Now, I want to change the resolution. I used the following code,
CWnd* pWnd = GetDlgItem( IDC_STATIC_PRE );
But when I run the application, the static window(rectangle) disappears. Why?. What code I have to add to set the new window position?.