BOOL WaitExit::PreTranslateMessage(MSG* pMsg) 
{
// TODO: この位置に固有の処理を追加するか、または基本クラスを呼び出してください
BOOL bRet;
CWnd * pWnd = GetDlgItem(IDD_WAIT_EXIT_FORM) ;
HWND hwnd = pWnd->GetSafeHwnd(); while ( (bRet = GetMessage(pMsg, NULL, 0, 0)) != 0 )
{
if ( bRet == -1 )
{
}
else if(hwnd == 0 || !IsDialogMessage(hwnd, pMsg))
                 {
TranslateMessage(pMsg);
DispatchMessage(pMsg);
}
}
return CFormView::PreTranslateMessage(pMsg);
}报错是这样的
--------------------構成: PSB - Win32 Debug--------------------
コンパイル中...
WaitExit.cpp
D:\PSB_CODE\WaitExit.cpp(186) : error C2660: 'IsDialogMessageA' : 関数が不正な 2 個の実引数をともなって呼び出されました。
cl.exe の実行エラー
ブラウザ データベースを作成中...PSB.exe - エラー 1、警告 0