Vcl.Dialogs.TCustomTaskDialog.CallbackProc

De RAD Studio API Documentation
Aller à : navigation, rechercher

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, NativeUInt wParam, NativeInt lParam, NativeInt lpRefData);

Propriétés

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

Description

Une fonction définie par l'application, utilisée avec les dialogues de tâche.

Utilisez CallbackProc en tant que fonction définie par l'application, utilisée avec la fonction TaskDialogIndirect. Elle reçoit des messages du dialogue de tâche quand divers événements surviennent. Une application doit recenser cette fonction callback. .