Back to Devexpress

dxGetFormIcon(THandle,Integer,Integer) Method

vcl-dxforms-dot-dxgetformicon-x28-46a012df-x29.md

latest1.1 KB
Original Source

dxGetFormIcon(THandle,Integer,Integer) Method

Returns a handle to the icon of the specified form.

Declaration

delphi
function dxGetFormIcon(AHandle: THandle; ASizeX: Integer; ASizeY: Integer): HICON;

Parameters

NameTypeDescription
AHandleTHandle

The handle to the target application window.

| | ASizeX | Integer |

The required icon width, in pixels.

If you pass 0 as this parameter, the returned icon retains its original width.

| | ASizeY | Integer |

The required icon height, in pixels.

If you pass 0 as this parameter, the returned icon retains its original height.

|

Returns

TypeDescription
HICON

The handle to the icon of the target form whose handle is passed as the AHandle parameter.

|

See Also

dxForms Unit