IPM_SETFOCUS message

Sets the keyboard focus to the specified field in the IP address control. All of the text in that field will be selected.

Parameters

wParam

A zero-based field index to which the focus should be set. If this value is greater than the number of fields, focus is set to the first blank field. If all fields are nonblank, focus is set to the first field.

lParam

Must be zero.

Return value

The return value is not used.

Requirements

Requirement Value
Minimum supported client
Windows Vista [desktop apps only]
Minimum supported server
Windows Server 2003 [desktop apps only]
Header
Commctrl.h