vBOOL
CCISaverDlg::OnInitDialog()
v{
v CDialog::OnInitDialog();
v SetIcon(m_hIcon, TRUE); // Set big icon
v SetIcon(m_hIcon, FALSE); // Set small icon
v
v // Creazione finestra opengl
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 // init del list box
v for(unsigned
i=0;i<m_names.size();++i){
v CString buf=m_names[i];
v int
lastSlash=buf.ReverseFind('\\');
v
m_listSaver.AddString(buf.Right(buf.GetLength()-lastSlash-1));
v }
v m_listSaver.SetCurSel(m_select);
v return TRUE; // return TRUE unless you set the focus to a control
v}