IASPowerListBox::put_CommandPrompt

This method sets the command prompt.

Syntax

HRESULT put_CommandPrompt( BSTR bstrCommandPrompt );

Parameters

bstrCommandPrompt
Unicode string to be used for a command prompt.

Return Values

NOERROR indicates success. E_OUTOFMEMORY indicates that the system is out of memory.

Remarks

To create command prompts than span multiple lines, set the item height to a size large enough to accommodate all needed lines. Then set bstrCommandPrompt to the desired value, using newline characters to separate the lines.

See Also

IASPowerListBox::put_ItemHeight