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:
roflmao456
Skinning Contest Winner
****

Avatar

Posts: 955
Reputation: 24
30 / Male / Flag
Joined: Nov 2006
Status: Away
O.P. [?] Remove the vertical scrollbar from the BrowserControl
it seems to appear no matter how small the page is :\
there's no attribute for it and i can't seem to use css:"overflow:hidden;"..
[quote]
Ultimatess6
: What a noob mod
09-19-2008 02:50 AM
Profile PM Web Find Quote Report
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 »


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