Button_SetText macro (windowsx.h)
Sets the text of a button.
Syntax
void Button_SetText(
hwndCtl,
lpsz
);
Parameters
hwndCtl
Type: HWND
A handle to the button control.
lpsz
Type: LPTSTR
A pointer to a null-terminated string to be used as the button text.
Return value
None
Remarks
The macro expands to a call to SetWindowText.
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 |