class MyApp : public WithMyAppLayout<TopWindow> { virtual bool Key(dword key, int count); ....... }; bool MyApp::Key(dword key, int count) { if(key == K_ENTER) { ...... return true; // key accepted } return TopWindow::Key(key, count); }
Report message to a moderator