|
// *********************************************************
// ダイアログ初期化イベント
// *********************************************************
void MyDlg::WMInitdialog()
{
// ダイアログを親ウインドウの中央へ
this->CenterWindow();
// 背景色設定
this->SetBackgroundColor( 58,109,165 );
// テキスト色設定
this->SetTextColor( 255, 255, 255 );
// ステータスバー実装
this->StatusCreate( 0 );
// ESC キーで終了させない
this->bEscCancel = true;
// 初期フォーカスを変更したい場合
this->ReturnValue = false;
this->EditFocus( IDC_EDIT2 );
}
| |