|
// *********************************************************
// 関数: TestDialogListbox
// *********************************************************
LRESULT CALLBACK TestDialogListbox(
HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam )
switch( message ) {
case WM_INITDIALOG:
// ダイアログ登録
Dlg = new LboxDlg( hDlg );
Dlg->CenterWindow( );
Dlg->CreateSolidBrush( 0, 128, 0 );
return TRUE;
case WM_CTLCOLORDLG:
return (LRESULT)Dlg->hSolidBrush;
| |