>>942
すいません。出来ないです。

VC++のリソースエディタで”標準のボタン”にチェックして、
以下のソースを書くだけではだめですか?

// hWndDlgはダイアログのハンドル
while(GetMessage(&msg, NULL, 0, 0)){
if (hWndDlg && IsDialogMessage(hWndDlg, &msg)) continue;
TranslateMessage(&msg);
DispatchMessage(&msg);
}