コード例 #1
0
void CWizardSprayWelcome::InitializeControls(void)
{
	CFontHandle fontExteriorPageTitleFont(baseClass::GetExteriorPageTitleFont());
	CFontHandle fontBulletFont(baseClass::GetBulletFont());

	CWindow title = this->GetDlgItem(IDC_WIZ97_EXTERIOR_TITLE);
	CWindow bullet1 = this->GetDlgItem(IDC_WIZ97_BULLET1);
	CWindow bullet2 = this->GetDlgItem(IDC_WIZ97_BULLET2);
	CWindow bullet3 = this->GetDlgItem(IDC_WIZ97_BULLET3);
	CWindow bullet4 = this->GetDlgItem(IDC_WIZ97_BULLET4);
	m_buttonSkipWelcome = this->GetDlgItem(IDC_WIZ97_WELCOME_NOTAGAIN);

	title.SetFont(fontExteriorPageTitleFont);
	bullet1.SetFont(fontBulletFont);
	bullet2.SetFont(fontBulletFont);
	bullet3.SetFont(fontBulletFont);
	bullet4.SetFont(fontBulletFont);
}
コード例 #2
0
void CMakerSetupProgressPage::InitializeControls(void)
{
    DoDataExchange(FALSE);
    m_ProgressSetup.ModifyStyle(0, PBS_MARQUEE);
    CFontHandle fontExteriorPageTitleFont(baseClass::GetExteriorPageTitleFont());
    CFontHandle fontBulletFont(baseClass::GetBulletFont());

    //CWindow title = this->GetDlgItem(IDC_WIZ97_EXTERIOR_TITLE);
    //CWindow bullet1 = this->GetDlgItem(IDC_WIZ97_BULLET1);
    //CWindow bullet2 = this->GetDlgItem(IDC_WIZ97_BULLET2);
    //CWindow bullet3 = this->GetDlgItem(IDC_WIZ97_BULLET3);
    //CWindow bullet4 = this->GetDlgItem(IDC_WIZ97_BULLET4);
    //m_buttonSkipWelcome = this->GetDlgItem(IDC_WIZ97_WELCOME_NOTAGAIN);

    //title.SetFont(fontExteriorPageTitleFont);
    //bullet1.SetFont(fontBulletFont);
    //bullet2.SetFont(fontBulletFont);
    //bullet3.SetFont(fontBulletFont);
    //bullet4.SetFont(fontBulletFont);
}