16,466
社区成员
发帖
与我相关
我的任务
分享
BOOL CMy1Dlg::OnInitDialog()
{
CDialog::OnInitDialog();
// Set the icon for this dialog. The framework does this automatically
// when the application's main window is not a dialog
SetIcon(m_hIcon, TRUE); // Set big icon
SetIcon(m_hIcon, FALSE); // Set small icon
// TODO: Add extra initialization here
GetDlgItem(IDC_EDIT1)->SetFocus();
return FALSE; // return TRUE unless you set the focus to a control
}