Barry Scott wrote:
Is there some sample code that does something like this that I can read
to get a handle on the approache to use?
Barry
Barry,
I found some things that MIGHT be useful to you on this issue
Info on the actual prompt service interface
http://www.xulplanet.com/references/xpcomref/comps/c_embedcomppromptservice1.html
http://www.xulplanet.com/references/xpcomref/ifaces/nsIPromptService.html
Some Javascript code (not hard to convert to C++) on how to use some of
the functions
http://kb.mozillazine.org/Prompt_service
Some C++ code (MFC) on some of the meat of overriding and implementing
the actual nsIPromptService interface...this will probably be the most
use to you
http://lxr.mozilla.org/seamonkey/source/embedding/tests/mfcembed/components/PromptService.cpp
Hope this gives you the starting point you need.
Niky Williams
_______________________________________________
mozilla-embedding mailing list
mozilla-embedding@mozilla.org
http://mail.mozilla.org/listinfo/mozilla-embedding