philippe wrote:
Hello

I built mfcemebed, and look at it to see how it works.

My purpose is:

I'm on an automaton. There is no direct interact with the customer , no
touch screen, an a minimal keyboard with just a keypad and some
functions keys (it's quite like an ATM, but for trains), because of
specials devices.

I manage my own windows.

- I have to send to the embedded mozilla the URL's
- I've to get the results of the action (is it ok or is there an error)
- No dialog boxes have to be displayed (There is no mouse too....)
.......


If I look at MfcEmbed. My hown window will be in place of
BrowserView.cpp. Am I right ?
- I ve to initialize in the main
- I've to write a class like CBrowserFrame which has an instance of my
window class as member
- I've to write a class like CBrowserImpl which will implement the
needed interfaces.

- If I will avoid the dialogs, I've to write XPCOM components like
compoents/PrintingPromptService or nsPrintProgress.....


Am I right . Is there anyone who did such a work an could help me.


thank's a lot



Philippe,
I'm not sure if you have seen this, but this is where I got started with the embedding process.

http://www.mozilla.org/projects/embedding/

This is more detailed info on what interfaces you need to implement and which are optional...go down about half way to "Initialization and Teardown"

http://developer.mozilla.org/en/docs/Gecko_Embedding_Basics

If you are wanting to be sure that prompts do not come up, then yes, you will need to implement the nsIPromptService so you can handle them yourself. I'll try to help you out if I can...I'm no where a guru like some of the other folks on the board (Thanks for all the help Boris!), but I'll do what I can.

Nik Williams
_______________________________________________
dev-embedding mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-embedding

Reply via email to