Поделиться через


CIPAddressCtrl::SetFieldFocus

Sets the keyboard focus to the specified field in the IP Address Control.

void SetFieldFocus(
   WORD nField 
);

Параметры

  • nField
    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 non-blank, focus is set to the first field.

Заметки

This member function implements the behavior of the Win32 message IPM_SETFOCUS, as described in the Windows SDK.

Требования

Header: afxcmn.h

См. также

Основные понятия

CIPAddressCtrl Class

CIPAddressCtrl Members

Hierarchy Chart

CIPAddressCtrl::SetFieldRange