IWin32Window.Handle

Syntax

Handle: Integer;

Description

The Handle property returns a value of the window descriptor.

NOTE. The property is outdated.

Example

The example of the outdated method use:

//...
Var
    Sheet: ITabSheet;
    View: ITabView;
Begin
    Sheet := TabSheetBox1.Source.GetTabSheet;
    View := Sheet.View;
    View.ShowFormatDialog((Self As IWin32Window).Handle);
    //...

The example of the new method use that is recommended to be used:

//...
Var
    Sheet: ITabSheet;
    View: ITabView;
Begin
    Sheet := TabSheetBox1.Source.GetTabSheet;
    View := Sheet.View;
    View.ShowFormatDialogEx(Self As IWin32Window);
    //...

See also:

IWin32Window