March 29, 2024

Dynamic Windows Function [dw_window_function]

Syntax

void dw_window_function(HWND handle, void *function, void *data)

Parameters

HWND handle: Window handle of the widget.
void *function: Function pointer to be called.
void *data: Pointer to the data to be passed to the function.

Description

Call a function from the window (widget)'s context (typically the message loop thread).

Remarks

The function prototype is:

void (*)(void *);