|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IMissingCommand
Provides access to members that control missing commands on a ToolbarControl.
This IMissingCommand interface is normally used by the ToolbarControl to place click and tooltip message information into the MissingCommand CoClass.
Method Summary | |
---|---|
void |
setErrorMessage(String clickMessage,
String tooltipMessage)
Sets the message that is displayed when the command is clicked. |
Method Detail |
---|
void setErrorMessage(String clickMessage, String tooltipMessage) throws IOException, AutomationException
Use SetErrorMessage to override the default click and tooltip messages that are displayed when a ToolbarControl item has a missing command, and the user clicks or moves the mouse over the item when IToolbarControl::Tooltips is true. By default the messages display the guid (the *.dll file containing the command has been unregistered) and progID (the *.dll file containing the command has been deleted) of the MissingCommand.
A command is created automatically when an item is added to the ToolbarControl through the property pages. If the *.dll file containing the command is missing or is unregistered the command will be a missing command.
clickMessage
- The clickMessage (in)tooltipMessage
- The tooltipMessage (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |