THYFMXNativePanel

Overview

The THYFMXNativePanel is a base control for a visual plugin placeholders. This panel creates an underlying native window to be able to act as a parent window for visual plugins.

Location


 

constructor Create  override

Creates a new instance of the class.

constructor Create(AOwner: TComponent)

Parameters:

  • AOwner: Reference to a parent control.

ChangePaintingState

Changes painting state of the control.

procedure ChangePaintingState(Enable: Boolean)

Parameters:

  • Enable: Value that indicates wheter painting will be enabled or disabled.

CreateHandle  protected virtual

Creates a new window handle for the embedded window.

procedure CreateHandle

Design  protected

Gets a value that indicates whether control is in design mode.

property Design: Boolean read

DestroyHandle  protected virtual

Destroys a handle of the underlying window.

procedure DestroyHandle

GetShiftState  protected

Returns current keyboard shift state.

function GetShiftState: TShiftState

Handle

Gets window handle of the underlying window.

property Handle: THandle read

HideWindow  protected virtual

Hides underlying window.

procedure HideWindow

IsWindowActive  protected

Gets a value that shows whether window is active.

property IsWindowActive: Boolean read

MatrixChanged  protected override

Overriden. Handles changes to the transformation matrix.

procedure MatrixChanged(Sender: TObject)

Parameters:

  • Sender:

ParentForm

Gets reference to a parent form.

property ParentForm: TCustomForm read

ParentFormHandle

Gets handle of the parent window.

property ParentFormHandle: HWND read

RecalcAbsolute  override

Overriden. Forces the current control to recalculate the AbsoluteMatrix property.

procedure RecalcAbsolute

RedrawWindow  protected virtual

Redraws underlying window.

procedure RedrawWindow

Resize  protected override

Overriden. OnResize event dispatcher.

procedure Resize

ResizeWindow  protected virtual

Resizes underlying window.

procedure ResizeWindow

SendTab  protected

Sends TAB key to a prent form.

procedure SendTab

SetParent  protected override

Overriden. Sets parent object.

procedure SetParent(const Value: TFmxObject)

Parameters:

  • Value: Reference to a new parent object.

SetVisible  protected override

Changes control visibility state.

procedure SetVisible(const Value: Boolean)

Parameters:

  • Value: Value that indicates whether control is visible.

ShowWindow  protected virtual

Shows underlying window.

procedure ShowWindow

WindowProc  protected virtual

Processes messages sent to a window.

function WindowProc(hwnd: hwnd; uMsg: UINT; wParam: wParam; lParam: lParam): LRESULT

Parameters:

  • hwnd: A handle to the window.
  • uMsg: Message code.
  • wParam: Additional message information.
  • lParam: Additional message information.

WindowRect

Gets rectange of the control.

property WindowRect: TRect read

 

Design  protected

Gets a value that indicates whether control is in design mode.

property Design: Boolean read

Handle

Gets window handle of the underlying window.

property Handle: THandle read

IsWindowActive  protected

Gets a value that shows whether window is active.

property IsWindowActive: Boolean read

ParentForm

Gets reference to a parent form.

property ParentForm: TCustomForm read

ParentFormHandle

Gets handle of the parent window.

property ParentFormHandle: HWND read

WindowRect

Gets rectange of the control.

property WindowRect: TRect read

 

constructor Create  override

Creates a new instance of the class.

constructor Create(AOwner: TComponent)

Parameters:

  • AOwner: Reference to a parent control.

ChangePaintingState

Changes painting state of the control.

procedure ChangePaintingState(Enable: Boolean)

Parameters:

  • Enable: Value that indicates wheter painting will be enabled or disabled.

CreateHandle  protected virtual

Creates a new window handle for the embedded window.

procedure CreateHandle

DestroyHandle  protected virtual

Destroys a handle of the underlying window.

procedure DestroyHandle

GetShiftState  protected

Returns current keyboard shift state.

function GetShiftState: TShiftState

HideWindow  protected virtual

Hides underlying window.

procedure HideWindow

MatrixChanged  protected override

Overriden. Handles changes to the transformation matrix.

procedure MatrixChanged(Sender: TObject)

Parameters:

  • Sender:

RecalcAbsolute  override

Overriden. Forces the current control to recalculate the AbsoluteMatrix property.

procedure RecalcAbsolute

RedrawWindow  protected virtual

Redraws underlying window.

procedure RedrawWindow

Resize  protected override

Overriden. OnResize event dispatcher.

procedure Resize

ResizeWindow  protected virtual

Resizes underlying window.

procedure ResizeWindow

SendTab  protected

Sends TAB key to a prent form.

procedure SendTab

SetParent  protected override

Overriden. Sets parent object.

procedure SetParent(const Value: TFmxObject)

Parameters:

  • Value: Reference to a new parent object.

SetVisible  protected override

Changes control visibility state.

procedure SetVisible(const Value: Boolean)

Parameters:

  • Value: Value that indicates whether control is visible.

ShowWindow  protected virtual

Shows underlying window.

procedure ShowWindow

WindowProc  protected virtual

Processes messages sent to a window.

function WindowProc(hwnd: hwnd; uMsg: UINT; wParam: wParam; lParam: lParam): LRESULT

Parameters:

  • hwnd: A handle to the window.
  • uMsg: Message code.
  • wParam: Additional message information.
  • lParam: Additional message information.