Dialogs, Win32 API (no MFC)

I have a Dialog, i have a Button in this Dialog (IDC_BUTTON1).
How do i find out whenever ...

- ... this Button is pushed.
- ... this Button is selected.
- ... the mouse is over this Button.

Win32 API without MFC.
You need to check for WM_COMMAND (button clicked), WM_MOUSEMOVE(mouse over) in your dialog proc.
https://msdn.microsoft.com/en-us/library/windows/desktop/ms645469(v=vs.85).aspx
Problem solved, thank you.
Topic archived. No new replies allowed.