我在消息响应是这么写怎么提示错误: void OnMyBtMessage(WPARAM wParam, LPARAM lParam) { HWND hwnd = ::GetDlgItem(this->GetSafeHwnd(), IDC_BTN_REDIAL); ::EnableWindow(hwnd, true); } C:\Documents and Settings\Administrator\桌面\录音播放3\录音播放3\ConsoleTestDlg.cpp(5900) : error C2660: 'GetDlgItem' : function does not take 1 parameters
C:\Documents and Settings\Administrator\桌面\录音播放3\录音播放3\ConsoleTestDlg.cpp(5900) : error C2673: 'OnMyBtMessage' : global functions do not have 'this' pointers
http://topic.csdn.net/t/20020701/09/840089.html
关闭子对话框后,发个消息回去,主对话框再将按纽变成有效
void OnMyBtMessage(WPARAM wParam, LPARAM lParam)
{
HWND hwnd = ::GetDlgItem(this->GetSafeHwnd(), IDC_BTN_REDIAL);
::EnableWindow(hwnd, true);
} C:\Documents and Settings\Administrator\桌面\录音播放3\录音播放3\ConsoleTestDlg.cpp(5900) : error C2660: 'GetDlgItem' : function does not take 1 parameters