thanks for the really perfect solutions of scrolling adviced by Rick and
Valeri,
but i am afraid that sending-a-key approach might not be excluded in my
case, because,
to name a few,  moving focus to the next/previous tabbable item,  left-right
scrolling, firing a hyperlink
should be done either. i am pretty new to all these kind of problems. could
you tell me please that
all of them could be done via some methods provided by the interfaces anyway
?


"Rick Potts" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
It is safer to use the scrolling methods exposed by nsIDOMWindow than using
the nsITextScroll interface (which is private)

The nsIDOMWindow interface is available from
nsIWebBrowser::GetContentDOMWindow(...)

-- rick

Valeri Todorov wrote:

In article <9pav6p$[EMAIL PROTECTED]>, [EMAIL PROTECTED] says...
hi, everyoneis there anybody who knows how to send a key to the gtkmozembed
widget ?what I am intending to do is programmablly scroll up/down window by
line orpage.my programme is based entirely
onmozilla/embedding/browser/gtk/tests/TestGtkEmbed.cpp.
IDocShell = do_GetInterface(nsIWebBrowser);ITextScroll =
do_QueryInterface(IDocShell);ITextScroll->ScrollByLines(iHowManyLines);





Reply via email to