|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IMessageDialog
Provides access to a method that works with a dialog for displaying a message.
The message dialog is used to display a message to the user.
To get access to the IMessageDialog interface, create a new MessageDialog object.
Method Summary | |
---|---|
boolean |
doModal(String title,
String message,
String oKButtonMessage,
String cANCELButtonMessage,
int hWnd)
Shows the dialog with a message. |
Method Detail |
---|
boolean doModal(String title, String message, String oKButtonMessage, String cANCELButtonMessage, int hWnd) throws IOException, AutomationException
Title is a string that specifies the title of the dialog.
Message is a string used for the message displayed in the dialog.
OKButtonMessage specifies the caption for the OK button on the dialog.
CANCELButtonMessage specifies the caption for the Cancel button on the dialog.
hWnd specifies the window handle of the parent window. In most cases this will be the hWnd of the application.
If the dialog was cancelled, the DoModal method returns False.
title
- The title (in)message
- The message (in)oKButtonMessage
- The oKButtonMessage (in)cANCELButtonMessage
- The cANCELButtonMessage (in)hWnd
- The hWnd (A COM typedef) (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 |