April 26, 2024

Dynamic Windows Function [dw_signal_connect]

Syntax

void dw_signal_connect(HWND window, char *signame, void *sigfunc, 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 *data: User data to be passed to the handler function.

Description

Add a callback to a window event.