Vcl.Dialogs.TCustomTaskDialog.CallbackProc

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function CallbackProc(hwnd: HWND; msg: UINT; wParam: WPARAM;
lParam: LPARAM; lpRefData: LONG_PTR): HResult; dynamic;

C++

DYNAMIC HRESULT __fastcall CallbackProc(HWND hwnd, unsigned msg, unsigned wParam, int lParam, int lpRefData);

Properties

Type Visibility Source Unit Parent
function protected
Vcl.Dialogs.pas
Vcl.Dialogs.hpp
Vcl.Dialogs TCustomTaskDialog

Description

An application-defined function used with Task Dialogs.

Use CallbackProc as an application-defined function used with the TaskDialogIndirect function. It receives messages from the Task Dialog when various events occur. An application must register this callback function. .