Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
给定一个通知处理程序
BOOL CMyWindow::OnNotify(WPARAM wParam, LPARAM lParam, LRESULT* pResult) { .......
如果我处理特定通知。我应该返回 TRUE 还是设置 *pResult = TRUE?
这是困扰我多年的事情。
它们是完全不同的东西:
BOOL
DefWindowProc
pResult
NMHDR
lParam