Using a control application to display an html document. The control app toolbar has two buttons - OK & Exit. When the user clicks the EXIT button I want to do some processing before exiting from the application. How do I know which button the user clicked? … Thinking that I need to create my own button to do further processing … but I want to do it the ‘right’ way.
The answer was that the standard buttons on the toolbar do standard things. So - to attach an even to a button I had to create my own button.