Dynamic Windows Function [dw_signal_connect_data]
Syntax
void dw_signal_connect_data(HWND window, char *signame, void *sigfunc, void *discfunc, void *data)
Parameters
HWND window: Window handle of signal to be called back.
char *signame: A constant identifying which signal to be hooked such as DW_SIGNAL_CONFIGURE.
void *sigfunc: Pointer to the function to be used as the callback use DW_SIGNAL_FUNC() to cast.
void *discfunc: The pointer to the function called when this handler is removed use DW_SIGNAL_FUNC() to cast.
void *data: User data to be passed to the handler function.
Description
Add a callback to a window event with a closure callback.
Remarks
This API was introduced in version 3.0.