Hi there.
I am attempting slightly customise Microsoft WebBrowser control. I
got the easy stuff working (handles of its windows etc.) but most
problems resist. Specifically:
1. When the control navigates to a web page with a big picture, it
shows scrollbars. I need to resize the control so its right margin
will match the right margin of the picture and the scrollbar
disappear. In fact I need to know the scollbars maximum. It is
somehow strange, since the GetScrollInfo fails with either of the
three WebBrowser sub-windows I was able to find. This suggests that
it has non-standart scrollbars. But the control responds to
WM_HScroll SendMessage. So I am rather confused.
2. I need the browser to find and highlight a specific word in a html
page without prompting user. I guess it can be done by using
Web1.ExecWB OLECMDID_FIND, OLECMDEXECOPT_DONTPROMPTUSER, in, out but
i do not know how to pass correct in and out values to find certain
string.
I just hope that somebody there may be able to give me some advices.
Thank you.
Vaclav