December 21, 2024

Dynamic Windows Function [dw_window_default]

Syntax

void dw_window_default(HWND window, HWND defaultitem)

Parameters

HWND window: Toplevel window or dialog.
HWND defaultitem: Handle to the dialog item to be default.

Description

Sets the default focus item for a window/dialog.

Remarks

This is for use before showing the window/dialog.