vNel
dialogo della classe CISaverDlg aggiungiamo
una finestra di preview.
vAggiungiamo
un membro
CGLWnd m_glwnd;
vNelle risorse, nel template del dialog aggiungere uno static text control della dimensione che ci interessa con id IDC_IMAGE
vNella OnInitDialog aggiungiamo:
v CRect rect;
v GetDlgItem(IDC_IMAGE)->GetWindowRect(&rect);
v ScreenToClient(&rect);
v m_glwnd.myCreate(WS_EX_TOPMOST,
WS_VISIBLE|WS_CHILD, rect, this, IDC_IMAGE);
v