December 21, 2024

Dynamic Windows Function [dw_box_pack_start]

Syntax

void dw_box_pack_start(HWND box, HWND item, 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 width: Width in pixels of the item or DW_SIZE_AUTO to be self determined.
int height: Height in pixels of the item or DW_SIZE_AUTO 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 from the start (or top).