GetFont method


Available for all objects except Image, HScroll, VScroll, ToolBar, ProgressBar, Slider, UpDown and Animate.

Prototype

GetFont Proto hWnd:HWND

Syntax

Invoke GetFont, hWnd

Function

Gets the handle to the font for an object.

Parameters

hWnd

Handle to the object.

Return value

Eax returns the handle to the font for the object.