The scenario
A Button on a Dialog starts a thread, some time later it sends a message to the Button to determine if it needs to do more work or end
The Button can receive this message from the thread
CONTROL SEND DlgH, %Bstart, %BM_CLICK, 0, 0
but not this one
CONTROL SEND DlgH, %Bstart, %WM_USER + 600, 0, 0
Does the buton need to be sub classed or the message registered?
A Button on a Dialog starts a thread, some time later it sends a message to the Button to determine if it needs to do more work or end
The Button can receive this message from the thread
CONTROL SEND DlgH, %Bstart, %BM_CLICK, 0, 0
but not this one
CONTROL SEND DlgH, %Bstart, %WM_USER + 600, 0, 0
Does the buton need to be sub classed or the message registered?
Comment