Tomasz Pyra napisał(a):

// this is for overriding the Mozilla default PromptService component
#include "PromptService.h"
#define kComponentsLibname _T("mfcEmbedComponents.dll")
#define NS_PROMPTSERVICE_CID \
{0xa2112d6a, 0x0e28, 0x421f, {0xb4, 0x6a, 0x25, 0xc0, 0xb3, 0x8, 0xcb, 0xd0}}
static NS_DEFINE_CID(kPromptServiceCID, NS_PROMPTSERVICE_CID);


what does it means? (what is CID? what is "mfcEmbedComponents.dll"?)


Now I know how overriding components works in MFCEmbed ( I still don't know what mean that NS_PROMPTSERVICE_CID ).


But I think it is not that what I need.
I need to do come communication between dialogs, and my browser. But use dialogs as separate .dll will do this much harder.


Is there way to override dialog, not by separate dll containing overriden dialog handlers, but to write those handlers directly in my code to allow that functions to access global variables used in my browser?

So I want to compile overriden handlers into my .exe file, instead external .dll.

I am controlling whole Mozilla from somethink like console. And that console is implemented as global slingleton object, and user do all actions using that singleton UI. So I need that, the overrided dialog must comunicate with user thru my console, then user answer must be sent back to overrided dialog. So I simple need to execute my console method from overrided dialog handler.
_______________________________________________
mozilla-embedding mailing list
[email protected]
http://mail.mozilla.org/listinfo/mozilla-embedding

Reply via email to