IShowMessageAction::Title property

[This interface is no longer supported. You can use IExecAction with the Windows scripting MsgBox function to show a message in the user session.]

Gets or sets the title of the message box.

This property is read/write.

Syntax


HRESULT put_Title(
  [in]   BSTR title
);

HRESULT get_Title(
  [out]  BSTR *pTitle
);

Property value

A BSTR value that contains the title of the message box.

Error codes

NameMeaning
S_OK

The property value was successfully set or retrieved.

Remarks

Parameterized strings can be used in the title text of the message box. For more information, see the Examples section in ValueQueries property of IEventTrigger.

When setting this property value, the value can be text that is retrieved from a resource .dll file. A specialized string is used to reference the text from the resource file. The format of the string is $(@ [Dll], [ResourceID]) where [Dll] is the path to the .dll file that contains the resource and [ResourceID] is the identifier for the resource text. For example, the setting this property value to $(@ %SystemRoot%\System32\ResourceName.dll, -101) will set the property to the value of the resource text with an identifier equal to -101 in the %SystemRoot%\System32\ResourceName.dll file.

Requirements

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2008 [desktop apps only]

End of client support

Windows 7

End of server support

Windows Server 2008 R2

Header

Taskschd.h

Library

Taskschd.lib

DLL

Taskschd.dll

See also

IShowMessageAction

 

 

Community Additions

ADD
Show:
© 2014 Microsoft