I want to use a javascript button that when the user clicks the "[close]" button on a website, will notify the C++ application to close
Reason: I want to remove all the C++ GUI frames, borders, max, min and close button, and only provide the website part - but still need a [close] button on the website to close the applpication