A short test with nsIDOMNSDocument.charset property shows that the
embedded window uses an incorrect charset despite the fact we
specifically state the Hebrew charset in a META tag.
Is this happening over HTTP? What headers does the server send?
Yes. Server (in our case IIS) sends only
I use Plug-in For Hosting ActiveX Controls. But I am not sure if it can
be used in Javascript to create the ActiveX control. Can anybody help
me? Thanks.
IMHO, JS in Mozilla can't create/call ActiveX.
Your plugin, however, can be scriptable. Then your JS calls the plugin,
which will call
Hi all,
We embed mozilla and it works fine with western encodings and Unicode.
However, when we use documents in Hebrew Windows-1255 encoding, the text is
displayed as question marks.
A short test with nsIDOMNSDocument.charset property shows that the embedded
window uses an incorrect charset
Hi all,
I have M16 embedding app on Windows.
When application starts, I create web browser (like in MfcEmbed) and
call nsWebBrowser::Activate() - it works fine! But when I call then
nsWebBrowser::Deactivate() it doesn't work. Debugging into Mozilla code
shows that my DocShell has NULL PresShell
Béatrice Philippe wrote:
maybe you released some xpcom services before ?
thank you for the prompt answer
I did some further investigation and it seems that the PresShell is fine
after any document is loaded (via LoadURI). Nevertheless, Deactivate
would not remove focus from the browser's
hi all
i'm trying to print in my embedding app but it doesn't print and forever
hangs in preparing dialog.
please help
___
mozilla-embedding mailing list
[EMAIL PROTECTED]
http://mail.mozilla.org/listinfo/mozilla-embedding
Hi all,
I have a plugin that use XPCOM. Somewhere in the plugin's code I call
do_CreateInstance. It returns NULL and when I step into it in debugger I
see that the implementation file does absolutely nothing.
This brings me to the question: do I need to call NS_InitEmbedding in a
plugin that
Hi all,
I have MfcEmbed sample compiled on Mozilla 1.6. My question is how it's
supposed to work on computers with Mozilla 1.7? The problem is that,
according to the Dependency Walker, MfcEmbed links XPCOM.DLL, which
might be different.
What good the whole idea of embedding if I must compile a
Hi all,
I have an embedding application compiled using M16 source tree. It works
great with M16, but it doesn't work on computers with M17 and above.
According to the dependency viewer, my app's exe won't load because
XPCOM.DLL installed with M17 differs from the one I used to build my
Hi all,
I have an embedding app that loads various HTML content into the
embedded Mozilla 1.6. Everything works fine, except the following:
1) Combo boxes don't work (cannot select any item, it's stuck on the
default)
2) Edit boxes can't get neither input nor focus
3) TAB and SHIFT-TAB doesn't
Hi all!
How can I make my embedded browser to use default window creator for
prompts, alerts and new browser windows?
Currently my chrome doesn't implement nsIWindowCreator, but the embedded
browser still doesn't open no alerts neither new windows.
Any info will be very appreciated!
TIA,
I made few mistakes in my previous note, following attached a working
code. Please note that mystrstream is a little wrapper for ostrstream.
Its code is also attached below.
Greetings from Israel,
Anton.
_
static inline
Hi all.
Selection of combo boxes doesn't change in my embedded app.
When I open the same webpages with plain Mozilla, everything works fine.
PLEASE HELP!
Many thanks in advance,
Anton.
___
mozilla-embedding mailing list
[EMAIL PROTECTED]
Hi all,
I have embedding application similar to mfcEmbed and I'm looking for a
way to call java script functions that are located in a page loaded by
the embedded browser. Ideally I would need to get their return codes,
but this is an expendable luxury.
Many thanks in advance,
Anton.
Hi all,
How can I call parent browser from a loaded plugin? I'm looking for a
way to get poiter to it's browser or to its chrome object, but any other
way will do as well.
TIA,
Anton.
___
mozilla-embedding mailing list
[EMAIL PROTECTED]
Mozilla dsps come alright by default with 0d/0a (cr/lf), therefore, if
fixed incorrectly, you can end up with double cr (e.g. crcrlf instead of
cr).
IMHO the problem is that the default dsp are designed only to invoke
makefiles. If you want to compile from within visual studio you should
oh sorry, mea culpa, i looked at my own dsp :(
never mind, the important thing is that it cannot compile as is
i think i've read it somewhere that the build uses the dsw to run on
windows, can't recall why... as a guess i would say that it needs it to
control the dependencies. msvc allows to
Hi Randy,
Linking errors mainly follow from wrong run time library. Please make
sure you use Debug Multithreaded DLL for debug and Multithreaded DLL
for release version.
Attached my own my precious DSP file.
Cheers,
Anton.
# Microsoft Developer Studio Project File - Name=myembed - Package
don't hesitate to ask for further info.
Greetings from Israel,
Anton Bar.
Randy wrote:
Béatrice,
Thanks for the info, I'll try that. I have to use VStudio for my
compilation because I'm working on a project for my company and they
don't want to switch other developers over to gcc.
I'd
[EMAIL PROTECTED] wrote:
Hi,
I want to click and set text automatically on a button and textfield
of a document respectively, from my C++ component. Help me to achieve
this. Thanks in advance.
Regards
A.SathishKumar
I'm not sure I understood correctly, but if you need to do this from an
Hi all,
How can I call XUL (e.g. show a context menu or a simple dialog) into my
embedding application? I could easily use a native widgetry but I'd like
it to be as XP as it gets.
TIA,
Anton.
___
mozilla-embedding mailing list
[EMAIL PROTECTED]
Hi all,
How can I call methods of my embedding application from an HTML page
loaded by an embedded browser?
TIA,
Anton.
___
mozilla-embedding mailing list
[EMAIL PROTECTED]
http://mail.mozilla.org/listinfo/mozilla-embedding
Hi all,
Is there any possibility for embedding application to call java script
loaded by a page into embedded browser?
TIA,
Anton.
___
mozilla-embedding mailing list
[EMAIL PROTECTED]
http://mail.mozilla.org/listinfo/mozilla-embedding
is was compiled before commenting out the method.
Anton Bar wrote:
Hi all,
This is in addition to my previous message posted yesterday called
Failed to call XPCOM..
I've tried the same code in MfcEmbed sample and it works fine.
I've compared all preproc values and they are very similar.
I've also compared
Hi all
How can I disable content selection in the embedded browser. I thought
to catch mouseDown etc. but I have a feeling that there might be a
simpler way to do that.
TIA,
Anton.
___
mozilla-embedding mailing list
[EMAIL PROTECTED]
Thanks aplenty!!
QI your embedded browser for a poitner to the nsIWebNavigation
interface, and then call LoadURI with a string of the form
javascript:expr where expr is some Javascript expression (including a
Javascript function, complete with parameters).
Hi all,
This is in addition to my previous message posted yesterday called
Failed to call XPCOM..
I've tried the same code in MfcEmbed sample and it works fine.
I've compared all preproc values and they are very similar.
I've also compared the included files, they are the same.
I will very
Thank you for a quick reply.
1. My try/catch handles my own exceptions thrown by TESTRES macro
(please see my sample)
2. I use MS VC 6 on WinXP for both Mozilla and the plugin
Benjamin D. Smedberg wrote:
Anton Bar wrote:
Hi all,
I'm trying to call XPCOM from my Gecko plugin (based
Anton Bar wrote:
Hi all,
Can Gecko plugins call Java script methods of the web page that opened
them (has their EMBED ... tag)?
Many thanks in advance,
Anton.
I think I've found smth:
http://www.mozilla.org/projects/plugins/bi-directional-plugin-scripting.html
If anyone has smth to add, please
Hi all,
I work on an app that will embed Gecko web browser. I need to add some
functionality to this browser so that the script that runs inside a web
page loaded into the embedded browser would be able to call a method of
my application.
Is there any way to do it?
Many thanks in advance,
will gratefully appreciate if you could, please, give a hint how to
proceed.
Again, many thanks for your help.
Best regards,
Anton.
Benjamin D. Smedberg wrote:
Anton Bar wrote:
I want to write a plugin that will use XPCOM. I have to make it as
small as possible (avoid static linkage). I have
Hi all,
I'm trying to build MSDEV project (DSP/DSW) for the MfcEmbed project
(the existing project only calls to an external Makefile).
Is there anybody that can give me a boilerplate project or point me to a
relavant link?
Many many thanks in advance,
Anton.
Find and register the Mozilla ActiveX DLL (regsvr32 mozctl.dll). I
think it is not registered by default in the setup.
Dan wrote:
Wow, that's great news. But I couldn't get it to work on my PC. I guess
there is some more setup I have to do?
Which raises an interesting question. What would it
this email box:
[EMAIL PROTECTED]
Warmest greetings,
Anton.
Jan Schukat wrote:
Anton Bar wrote:
1. Can I have a complete control over UI of the embedded component?
For example, can I modify or even completely replace the default
context (right click) menu? Can I also have a control over
Hi all,
Sorry for possibly stupid questions, I'm new here.
I'm planning to embed Mozilla into some application and have the
following questions:
1. Can I have a complete control over UI of the embedded component? For
example, can I modify or even completely replace the default context
(right
35 matches
Mail list logo