class MyButton : public Button { private: virtual void LeftDown(Point p, dword key) { Button::LeftDown(p, key); if (key & K_ALT) PromptOK("Done"); } };
Report message to a moderator