Athugasemd
Aðgangur að þessari síðu krefst heimildar. Þú getur prófað aðskrá þig inn eða breyta skráasöfnum.
Aðgangur að þessari síðu krefst heimildar. Þú getur prófað að breyta skráasöfnum.
Sets the text of a button.
int Button_SetText(
HWND hwndCtl,
LPTSTR lpsz
);
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.
Type: int
If the function succeeds, the return value is nonzero. If it fails, the return value is zero.
The macro expands to a call to SetWindowText.
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 |