MonobjcMonobjc Documented Class Library
WebViewRunBeforeUnloadConfirmPanelWithMessageInitiatedByFrame Method (sender, message, frame)
NamespacesMonobjc.WebKitIWebUIDelegateWebViewRunBeforeUnloadConfirmPanelWithMessageInitiatedByFrame(WebView, NSString, WebFrame)

Displays a confirmation panel containing the specified message before a window closes.

Original signature is '- (BOOL)webView:(WebView *)sender runBeforeUnloadConfirmPanelWithMessage:(NSString *)message initiatedByFrame:(WebFrame *)frame'

Available in Mac OS X v10.4.11 and later.

Declaration Syntax
C#Visual BasicVisual C++
bool WebViewRunBeforeUnloadConfirmPanelWithMessageInitiatedByFrame(
	WebView sender,
	NSString message,
	WebFrame frame
)
Function WebViewRunBeforeUnloadConfirmPanelWithMessageInitiatedByFrame ( _
	sender As WebView, _
	message As NSString, _
	frame As WebFrame _
) As Boolean
bool WebViewRunBeforeUnloadConfirmPanelWithMessageInitiatedByFrame(
	WebView^ sender, 
	NSString^ message, 
	WebFrame^ frame
)
Parameters
sender (WebView)
The web view that sent the message.
message (NSString)
The message to display in the panel.
frame (WebFrame)
The web frame whose JavaScript initiated this call.
Return Value
YES if the user clicked the OK button; otherwise, NO.
Version Information
  • Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)

Assembly: Monobjc.WebKit (Module: Monobjc.WebKit)