# hgeGUIObject::KeyClick Notifies the control of pressed keys.
    virtual bool KeyClick(
      int key,
      int chr
    );
## Parameters key Virtual code of the pressed key. See Virtual Key Codes for complete list. chr Character code, considering the current keyboard states and input locale. ## Return value If the control has modified it's state and wants the caller to be notified, KeyClick should return true. Otherwise it should return false. ## Remarks hgeGUIObject has default implementation, so you could not redefine this method if you don't need it. ## Requirements Header: hgegui.h