cplusplus
.com
TUTORIALS
REFERENCE
ARTICLES
FORUM
C++
Tutorials
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs
Forum
Windows Programming
Dialogs, Win32 API (no MFC)
Dialogs, Win32 API (no MFC)
Jul 14, 2018 at 4:34pm UTC
lovecoffee799
(2)
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.
Jul 14, 2018 at 5:29pm UTC
Thomas1965
(4571)
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
Jul 15, 2018 at 3:08am UTC
lovecoffee799
(2)
Problem solved, thank you.
Topic archived. No new replies allowed.