Been searching for the betterpart of an hour. I have a very simple program that I want to have the user quit from with the Escape key. How do I do that please?
//==============================================================================
class StartWindow : public Component
{
public:
//==============================================================================
StartWindow()
: Component (T(“AV”))
{
setOpaque (true);
setVisible (true);
addToDesktop (ComponentPeer::windowAppearsOnTaskbar | ComponentPeer::windowHasDropShadow);
centreWithSize (640, 480);
}
~StartWindow()
{
}
Thanks,
r.b.