You need to use an IWebBrowser2::ExecWB method, e.g.:
mzGecko.ExecWB(OLECMDID_SELECTALL, OLECMDEXECOPT_DODEFAULT);
(this is Delphi but you should get the idea)
There are lots of these commands that can be used to copy, select all, print, etc. Not all of them are implemented in the Mozilla Control but you can find a list here:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/com/htm/oen_a2z_22sk.asp
Dave.
Dave Murray Glasgow, UK PGP KeyID: 0x838592B3
Remove NOSPAM from my email address to reply.
Πάρις Κουτσιούκης wrote:
hi im using vb6 and im creating a web browser usng mozilla control 1.7.1
and iwant to make a comand in a menu that will select all the page like the command select all in the edit menu .
please
help icant do it to work.. please give an example with code!!
_______________________________________________ mozilla-embedding mailing list [email protected] http://mail.mozilla.org/listinfo/mozilla-embedding
