Hello!

I've troubles again, but couldn't figure out what to do:

I loaded the chrome mini-nav-chrome in mfcEmbed, which worked fine. I 
added a new menu and a new menuentry, so that I can input a new url in 
an prompt dialog.

First Problem: when I didn't load the extension dll that has the custom 
prompt dialogs, the prompt window opens but is not modal - as far as i 
could see the alert is not modal either.

The solution is of course using the dll. Now the alert and prompt code 
in the chrome works fine - but not in the loaded html page! if I type in 
javascript:alert(0) to load the url in the content, the debugger stops 
at nsglobalwindow.cpp::1731, GlobalWindowImpl::Alert() - the docshell 
doesn't define a prompter interface (if I read the source correctly)

I don't really know what a DocShell is - i guess that the chrome-frame 
is an docshell and the iframe within is anoter docshell - am I right?

If so, how can I tell all the subframes that they should use the parent 
docshell?

Thanks,
Markus


Reply via email to