IFileDialogCustomize::SetControlLabel method (shobjidl_core.h)
Sets the text associated with a control, such as button text or an edit box label.
HRESULT SetControlLabel( [in] DWORD dwIDCtl, [in] LPCWSTR pszLabel );
The ID of the control whose text is to be changed.
A pointer to a buffer that contains the text as a null-terminated Unicode string.
If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
Control labels can be changed at any time, including when the dialog is visible.
|Minimum supported client||Windows Vista [desktop apps only]|
|Minimum supported server||Windows Server 2008 [desktop apps only]|
|Header||shobjidl_core.h (include Shobjidl.h)|