RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomTaskDialog.CallbackProc Method

An application-defined function used with Task Dialogs.

Pascal
function CallbackProc(hwnd: HWND; msg: UINT; wParam: WPARAM; lParam: LPARAM; lpRefData: LONG_PTR): HResult; dynamic;
C++
__fastcall HRESULT CallbackProc(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam, LONG_PTR lpRefData);

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. . 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!