Skip to content

Latest commit

 

History

History
77 lines (61 loc) · 1.99 KB

nf-windowsx-combobox_gettext.md

File metadata and controls

77 lines (61 loc) · 1.99 KB
UID title description helpviewer_keywords old-location tech.root ms.assetid ms.date ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames req.redist ms.custom f1_keywords dev_langs topic_type api_type api_location api_name
NF:windowsx.ComboBox_GetText
ComboBox_GetText macro (windowsx.h)
Retrieves the text from a combo box control.
ComboBox_GetText
ComboBox_GetText macro [Windows Controls]
_win32_ComboBox_GetText
_win32_ComboBox_GetText_cpp
controls.ComboBox_GetText
controls._win32_ComboBox_GetText
windowsx/ComboBox_GetText
controls\ComboBox_GetText.htm
Controls
VS|Controls|~\controls\listboxes\listboxreference\listboxmacros\combobox_gettext.htm
12/05/2018
ComboBox_GetText, ComboBox_GetText macro [Windows Controls], _win32_ComboBox_GetText, _win32_ComboBox_GetText_cpp, controls.ComboBox_GetText, controls._win32_ComboBox_GetText, windowsx/ComboBox_GetText
windowsx.h
Windows
Windows Vista [desktop apps only]
Windows Server 2003 [desktop apps only]
Windows
19H1
ComboBox_GetText
windowsx/ComboBox_GetText
c++
APIRef
kbSyntax
HeaderDef
Windowsx.h
ComboBox_GetText

ComboBox_GetText macro

-description

Retrieves the text from a combo box control.

-parameters

-param hwndCtl

Type: HWND

A handle to the control.

-param lpch

Type: LPTSTR

A pointer to the buffer that will receive the text.

-param cchMax

Type: int

The maximum number of characters to copy to the buffer, including the NULL terminator.

-remarks

The macro expands to a call to GetWindowText.