March 28, 2024

Dynamic Windows Function [dw_box_pack_at_index]

Syntax

void dw_box_pack_at_index(HWND box, HWND item, int index, int width, int height, int hsize, int vsize, int pad)

Parameters

HWND box: Window handle of the box to be packed into.
HWND item: Window handle of the item to pack.
int index: 0 based index of packed items.
int width: Width in pixels of the item or -1 to be self determined.
int height: Height in pixels of the item or -1 to be self determined.
int hsize: TRUE if the window (widget) should expand horizontally to fill space given.
int vsize: TRUE if the window (widget) should expand vertically to fill space given.
int pad: Number of pixels of padding around the item.

Description

Pack windows (widgets) into a box at an arbitrary location.

Remarks

This API was introduced in version 2.1.