Button_GetText macro (windowsx.h)
Gets the text of a button.
Syntax
void Button_GetText(
hwndCtl,
lpch,
cchMax
);
Parameters
hwndCtl
Type: HWND
A handle to the button control.
lpch
Type: LPTSTR
Pointer to the buffer that will receive the text.
cchMax
Type: int
The maximum number of characters to copy to the buffer, including the NULL terminator.
Return value
None
Remarks
The macro expands to a call to GetWindowText.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows Vista [desktop apps only] |
Minimum supported server | Windows Server 2003 [desktop apps only] |
Target Platform | Windows |
Header | windowsx.h |