15,980
社区成员




virtual BOOL PreTranslateMessage(MSG* pMsg)
{
// 恢复应用按钮处于可用状态
if (pMsg->message == WM_LBUTTONDOWN)
{
HWND pageWnd = WindowFromPoint(pMsg->pt);
int ctrlID = ::GetDlgCtrlID(pageWnd);
if ((::GetParent(pageWnd) != m_hWnd) && ctrlID)
{
SendMessage(m_hWnd, WM_COOLING_APPLY_TRUE, 0, 0);
}
}
return CWindow::IsDialogMessage(pMsg);
}