March 28, 2024

Dynamic Windows Function [dw_window_get_preferred_size]

Syntax

void dw_window_get_preferred_size(HWND handle, int * width, int * height)

Parameters

HWND handle: Window handle of the item to be back.
int * width: Width in pixels of the item or NULL if not needed.
int * height: Height in pixels of the item or NULL if not needed.

Description

Gets the size the system thinks the widget should be.

Remarks

This API was introduced in version 2.3.