THYVCLCrossPlatformPanel

Overview

The THYVCLCrossPlatformPanel is a panel that is used internally to host cross-platform visual plugins. In the Hydra framework, this class is used by the THYVCLCrossPlatformVisualPluginWrapper to pass Windows keyboard messages to the underlying plugins.

Location

 

constructor Create  reintroduce

constructor Create(aOwner: TComponent; aCrossPlatformVisualPlugin: IHYCrossPlatformVisualPlugin; aManaged: Boolean)

Parameters:

  • aOwner:
  • aCrossPlatformVisualPlugin:
  • aManaged:

CMDialogChar  protected message

Handles CM_DIALOGCHAR messages to enable accelerator keys in plugins.

procedure CMDialogChar(var Message: TCMDialogChar)

Parameters:

  • Message: Reference to a message structure.

CMDialogKey  protected message

Handles CM_DIALOGCHAR messages to enable accelerator keys in plugins.

procedure CMDialogKey(var Message: TCMDialogKey)

Parameters:

  • Message: Reference to a message structure.

CMUIActivate  protected message

Handles CM_UIACTIVATE messages

procedure CMUIActivate(var Message: TMessage)

Parameters:

  • Message: Reference to a message structure.

CMWantSpecialKey  protected message

Handles CM_WANTSPECIALKEY messages to enable cursor keys in plugins.

procedure CMWantSpecialKey(var Message: TCMWantSpecialKey)

Parameters:

  • Message: Reference to a message structure.

CNKeyDown  protected message

Handles CN_KEYDOWN messages to pass the Tab key to the plugin.

procedure CNKeyDown(var Message: TWMKeyDown)

Parameters:

  • Message: Reference to a message structure.

CNKeyUp  protected message

Handles CN_KEYUP messages to handle key events.

procedure CNKeyUp(var Message: TWMKeyDown)

Parameters:

  • Message: Reference to a message structure.

CNSysChar  protected message

Handles CN_SYSCHAR messages to enable accelerator keys in plugins.

procedure CNSysChar(var Message: TWMChar)

Parameters:

  • Message: Reference to a message structure.

CrossPlatformVisualPlugin  protected

Plugin instance

property CrossPlatformVisualPlugin: IHYCrossPlatformVisualPlugin read

DoEnter  protected overload override

Overriden. OnEnter event dispatcher.

procedure DoEnter

DoExit  protected override

Overriden. OnExit event dispatcher.

procedure DoExit

OnDestroy

property OnDestroy: TNotifyEvent read write

WMFocusOutOfHost  protected message

Handles custom WM_FOCUSOUTOFHOST messages that are sent by the plugin to notify the host whenever a child control of the plugin gets focus.

procedure WMFocusOutOfHost(var Message: TMessage)

Parameters:

  • Message: Reference to a message structure.

WMGetDlgCode  protected message

Handles WM_GETDLGCODE messages to handle dialog keys.

procedure WMGetDlgCode(var Message: TMessage)

Parameters:

  • Message: Reference to a message structure.

WMTabOutOfPlugin  protected message

Handles custom WM_TABOUTOFPLUGIN messages that are sent by the plugin whenver the Tab key must be handled in the host.

procedure WMTabOutOfPlugin(var Message: TMessage)

Parameters:

  • Message: Reference to a message structure.

 

CrossPlatformVisualPlugin  protected

Plugin instance

property CrossPlatformVisualPlugin: IHYCrossPlatformVisualPlugin read

 

constructor Create  reintroduce

constructor Create(aOwner: TComponent; aCrossPlatformVisualPlugin: IHYCrossPlatformVisualPlugin; aManaged: Boolean)

Parameters:

  • aOwner:
  • aCrossPlatformVisualPlugin:
  • aManaged:

CMDialogChar  protected message

Handles CM_DIALOGCHAR messages to enable accelerator keys in plugins.

procedure CMDialogChar(var Message: TCMDialogChar)

Parameters:

  • Message: Reference to a message structure.

CMDialogKey  protected message

Handles CM_DIALOGCHAR messages to enable accelerator keys in plugins.

procedure CMDialogKey(var Message: TCMDialogKey)

Parameters:

  • Message: Reference to a message structure.

CMUIActivate  protected message

Handles CM_UIACTIVATE messages

procedure CMUIActivate(var Message: TMessage)

Parameters:

  • Message: Reference to a message structure.

CMWantSpecialKey  protected message

Handles CM_WANTSPECIALKEY messages to enable cursor keys in plugins.

procedure CMWantSpecialKey(var Message: TCMWantSpecialKey)

Parameters:

  • Message: Reference to a message structure.

CNKeyDown  protected message

Handles CN_KEYDOWN messages to pass the Tab key to the plugin.

procedure CNKeyDown(var Message: TWMKeyDown)

Parameters:

  • Message: Reference to a message structure.

CNKeyUp  protected message

Handles CN_KEYUP messages to handle key events.

procedure CNKeyUp(var Message: TWMKeyDown)

Parameters:

  • Message: Reference to a message structure.

CNSysChar  protected message

Handles CN_SYSCHAR messages to enable accelerator keys in plugins.

procedure CNSysChar(var Message: TWMChar)

Parameters:

  • Message: Reference to a message structure.

DoEnter  protected overload override

Overriden. OnEnter event dispatcher.

procedure DoEnter

DoExit  protected override

Overriden. OnExit event dispatcher.

procedure DoExit

WMFocusOutOfHost  protected message

Handles custom WM_FOCUSOUTOFHOST messages that are sent by the plugin to notify the host whenever a child control of the plugin gets focus.

procedure WMFocusOutOfHost(var Message: TMessage)

Parameters:

  • Message: Reference to a message structure.

WMGetDlgCode  protected message

Handles WM_GETDLGCODE messages to handle dialog keys.

procedure WMGetDlgCode(var Message: TMessage)

Parameters:

  • Message: Reference to a message structure.

WMTabOutOfPlugin  protected message

Handles custom WM_TABOUTOFPLUGIN messages that are sent by the plugin whenver the Tab key must be handled in the host.

procedure WMTabOutOfPlugin(var Message: TMessage)

Parameters:

  • Message: Reference to a message structure.

 

OnDestroy

property OnDestroy: TNotifyEvent read write