31#define ANCOR_LEFT 0x0001
33#define ANCOR_TOP 0x0002
35#define ANCOR_LEFT_TOP (ANCOR_LEFT | ANCOR_TOP)
37#define ANCOR_RIGHT 0x0004
39#define ANCOR_RIGHT_TOP (ANCOR_RIGHT | ANCOR_TOP)
41#define ANCOR_BOTTOM 0x0008
43#define ANCOR_LEFT_BOTTOM (ANCOR_LEFT | ANCOR_BOTTOM)
45#define ANCOR_RIGHT_BOTTOM (ANCOR_RIGHT | ANCOR_BOTTOM)
71void attach_layout(HANDLE resource, HWND dialog, LPCTSTR layout_resource_name);
116BOOL
anchor_control(HWND dialog, DWORD control_id, WORD anchor_topleft, WORD anchor_bottomright);
void attach_layout(HANDLE resource, HWND dialog, LPCTSTR layout_resource_name)
Attach a dynamic layout to a dialog box using a layout resource.
Definition layout.c:361
BOOL anchor_control(HWND dialog, DWORD control_id, WORD anchor_topleft, WORD anchor_bottomright)
Anchor an individual control to specific edges of the dialog, overriding any previous anchor.
Definition layout.c:381
void init_layout(HWND dialog)
Initialize dynamic layout management for a dialog.
Definition layout.c:368