What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » [?] Remove the vertical scrollbar from the BrowserControl

[?] Remove the vertical scrollbar from the BrowserControl
Author: Message:
matty
Scripting Guru
*****


Posts: 8336
Reputation: 109
39 / Male / Flag
Joined: Dec 2002
Status: Away
RE: [?] Remove the vertical scrollbar from the BrowserControl
There are 2 ways this can be done.

Process #1

1) Use the PlusWnd::Browser_GetInterface to get the interface for the Browser.
2) Get the handle of the browser
code:
var hWnd = pPlusWnd.Browser_GetInterface('wBrowser').HWND;

Process #2
Use the FindWindowEx API call until you find the Shell DocObject View window.

Once you have the handle of the browser you can use GetWindowLong to get the style of the window (GWL_STYLE) then remove the WS_EX_RIGHTSCROLLBAR and set the new style and it should be remove.
09-19-2008 03:48 AM
Profile E-Mail PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
[?] Remove the vertical scrollbar from the BrowserControl - by roflmao456 on 09-19-2008 at 02:50 AM
RE: [?] Remove the vertical scrollbar from the BrowserControl - by matty on 09-19-2008 at 03:48 AM


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On