Am having quite an issue with monitoring buttons click. I had to change a button's caption once it has been clicked..Thats fine.
On button click a function is accessed and processing is done
What I need to do is to use the same button to stop processing.....I need to use something like keydown but I have not been able to get to know what it should be..
In fact the processing is in a 'while loop' so I wanted to place an if condition in there to detect the button's click and set a check state to 0 or 1 so that the loops stops...can anyone plz guide my search about monitoring button click out ot the WM_COMMAND messsage?