Original Post
I''ve created a normal button like this:
hPlayButton = CreateWindow ("button",
"",
WS_CHILD | WS_VISIBLE | BS_BITMAP,
21, 473,
BUTTONSIZE, 20,
hWnd,
(HMENU) ID_PLAYBUTTON,
hThisInstance,
NULL );
It shows up fine but my problem is finding out when it is clicked. The ID_PLAYBUTTON is defined like this:
#define ID_PLAYBUTTON WM_USER + 3
hWnd is a handle to the main window.
How do I respond to messages sent by this button?