Skip to content

Latest commit

 

History

History
86 lines (54 loc) · 1.84 KB

cbn-setfocus.md

File metadata and controls

86 lines (54 loc) · 1.84 KB
title description ms.assetid keywords topic_type api_name api_location api_type ms.topic ms.date
CBN_SETFOCUS notification code (Winuser.h)
Sent when a combo box receives the keyboard focus. The parent window of the combo box receives this notification code through the WM\_COMMAND message.
8072edc6-aedc-4daf-80df-d3acd82fcffa
CBN_SETFOCUS notification code Windows Controls
apiref
CBN_SETFOCUS
Winuser.h
HeaderDef
reference
05/31/2018

CBN_SETFOCUS notification code

Sent when a combo box receives the keyboard focus. The parent window of the combo box receives this notification code through the WM_COMMAND message.

CBN_SETFOCUS

    WPARAM wParam;
    LPARAM lParam; 

Parameters

wParam

The LOWORD contains the control identifier of the combo box. The HIWORD specifies the notification code.

lParam

Handle to the combo box.

Requirements

Requirement Value
Minimum supported client
Windows Vista [desktop apps only]
Minimum supported server
Windows Server 2003 [desktop apps only]
Header
Winuser.h (include Windows.h)

See also

Reference

CBN_KILLFOCUS

Other Resources

HIWORD

LOWORD

WM_COMMAND