Reputation: 33
Sup all, I've a question about the top-right corner X. How does it work on DialogBox?
When I press the top-right corner X for trying to close DialogBox, UINT msg is sent to WM_CLOSE. And WPARAM wParam is sent to IDCANCEL.
I don't understand why WPARAM is sent to IDCANCEL. What is its purpose?
Upvotes: 0
Views: 1105