Sounds to me like you want to look closer at what the embedding
people are doing...
http://www.mozilla.org/projects/embedding/

There seem to be a lot of old info there. I suggest you browse
the newsgroup (link on that page). And look at the mfcembed and
winembed samples/testbeds.

Good Luck.

John.

Chris Melville wrote:
> 
> I'd like to start playing with constructing a UI (eg. XUL-based dialog box),
> skinning it, and linking back to C++ code through javascript/XPConnect and
> XPCOM.
> 
> However I want to start doing it from a familiar environment (Visual
> Studio). I've got a sample VC++ application set-up, and I'd like to have the
> above (Mozilla-based) dialog pop up when a menu command is chosed. I figure
> this will help me start to understand how to use increasing amounts of
> Mozilla code in my non-browser apps (previously MFC-based) until they become
> almost totally Mozilla-based.
> 
> I've done so much reading on the various Moz technologies that my head is
> spinning, but I'm still strugling to understand where to start doing this. I
> know I need the indiviual technologies/libraries (XPCOM) but what do I need
> to do to load/initialise the appropriate things so I can start doing
> XUL/javascript/XPCOM stuff in my own external C++ application?
> 
> I have downloaded and built 0.8.1, and added the include/lib/bin subdirs in
> the 'dist' subdirectory to my VC++ project, so I guess I'm ready to start
> writing code, once I know what to write.
> 
> Any help before I fall over would be most appreciated :0)
> 
> Cheers,
> Chris

Reply via email to