When you say that it does not work, do you mean the modal window is not
displayed or anything else ?

Usually, you get a reference on the modal window and pass it to
the NSApplication.NSApp.RunModalForWindow method.

Can you post the snipped of code that display the modal window ?

Regards, Laurent Etiemble.

2010/10/26 Chen, Feng <feng.c...@hrblock.com>

> Hi there,
> I am building a .NET application on Mac using Monobjc because the main
> window needs to display html content.
> Now the program needs to pop up another modal window which also displays
> html content.
> I tried NSApplication.NSApp.RunModalForWindow(NSWindow) and
> WebView.WebViewRunModal(Webview) etc, neither works.
> Does anyone have ideas how to do this?
> Thanks.
> Feng Chen

Reply via email to