Tinkr2/4.2/AphelionCore/AphelionCommonControls/Controls/Containers/Panel.cs
/// <summary>
/// Override this message to handle alt key events internally.
/// </summary>
/// <param name="key">Integer value of the Alt key affected</param>
/// <param name="pressed">True if the key is currently being pressed; false if released</param>
/// <param name="handled">true if the event is handled. Set to true if handled.</param>
/// <remarks>
/// Forwards the message to <see cref="Container.ActiveChild"/>
/// </remarks>
Override this message to handle alt key events internally.
Override this message to handle alt key events internally .
protected override void KeyboardAltKeyMessage(int key, bool pressed, ref bool handled)
      {
         if (ActiveChild != null)
         {
            handled = true;
            ActiveChild.SendKeyboardAltKeyEvent(key, pressed);
         }
         base.KeyboardAltKeyMessage(key, pressed, ref handled);
      }
protected override void KeyboardAltKeyMessage ( int key , bool pressed , ref bool handled ) { if ( ActiveChild != null ) { handled = true ; ActiveChild . SendKeyboardAltKeyEvent ( key , pressed ) ; } base . KeyboardAltKeyMessage ( key , pressed , ref handled ) ; }
Override this message to handle alt key events internally.
Override this message to handle alt key events internally .
//TODO: check if this code shouldn't go to Container
key
int
Integer value of the Alt key affected
Integer value of the Alt key affected
pressed
bool
True if the key is currently being pressed; false if released
True if the key is currently being pressed ; false if released
bool
ref
handled
true if the event is handled. Set to true if handled.
true if the event is handled . Set to true if handled .
remarks
Forwards the message to
Forwards the message to