หมายเหตุ
การเข้าถึงหน้านี้ต้องได้รับการอนุญาต คุณสามารถลอง ลงชื่อเข้าใช้หรือเปลี่ยนไดเรกทอรีได้
การเข้าถึงหน้านี้ต้องได้รับการอนุญาต คุณสามารถลองเปลี่ยนไดเรกทอรีได้
Sets the cue banner text that is displayed for the edit control of a combo box.
Syntax
BOOL ComboBox_SetCueBannerText(
HWND hwnd,
LPCWSTR lpcwText
);
Parameters
hwnd
Type: HWND
A handle to the combo box.
lpcwText
Type: LPCWSTR
A pointer to a null-terminated Unicode string buffer that contains the text.
Return value
Type: BOOL
Returns TRUE if successful, or an error value otherwise.
Remarks
The cue banner is text that is displayed in the edit control of a combo box when there is no selection.
Requirements
| Requirement | Value |
|---|---|
| Minimum supported client | Windows Vista [desktop apps only] |
| Minimum supported server | Windows Server 2008 [desktop apps only] |
| Target Platform | Windows |
| Header | commctrl.h |