Example #1
0
void CInstallPathPage::OnInstallpathBrowseButton() 
{
	CString strPath = CWizardToolz::BrowseForFolder(this->m_hWnd, "Browse", 0);
	if (strPath!="")
    {
	    SetTexts(strPath);
    }
}
Example #2
0
BOOL CInstallPathPage::OnInitDialog() 
{
	CNewWizPage::OnInitDialog();

	GetDlgItem(IDC_INSTALLPATH_TITLE)->SetFont(&((CCHM2Dlg*)GetParent())->m_fontTitle, TRUE);

    CString strPath = CRString(IDS_INSTALLATION_DEFAULT_PATH);
	SetTexts(strPath);
		
	return TRUE;  // return TRUE unless you set the focus to a control
	              // EXCEPTION: OCX Property Pages should return FALSE
}
Example #3
0
void AllocError::Init() {
  SetTexts("<Undefined>","<Undefined>");
  std::set_new_handler(ReportAllocError);
}
Example #4
0
void CInstallPathPage::OnKillfocusInstallpathPathEdit() 
{
	CString strPath;
    ((CEdit*)GetDlgItem(IDC_INSTALLPATH_PATH_EDIT))->GetWindowText(strPath);
	SetTexts(strPath);
}