Sign in to follow this  
Followers 0
Orchus

Hiding IE11 Menu and Bookmarks bar

3 posts in this topic

Seasons Greetings :)

I'm trying to hide the menu bar and bookmark bar in IE11 and have this change refresh the IE window that is opened.

The DllCall referenced in many places actually don't work on this simple W7Pro64 VM I have. The changes to the Registry do work however.

$key = "HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\MINIE"
$reg = RegWrite($key, "LinksBandEnabled", "REG_DWORD", 1)
;INTERNET_OPTION_SETTINGS_CHANGED
DllCall( 'wininet.dll', 'uint', 'InternetSetOption', 'ptr', 0, 'dword', 39, 'ptr', 0, 'dword', 0 )
;INTERNET_OPTION_REFRESH
DllCall( 'wininet.dll', 'uint', 'InternetSetOption', 'ptr', 0, 'dword', 37, 'ptr', 0, 'dword', 0 )

Thank you for your thoughts,

Antoine


If this is obvious or easy to you: Be kind, it's healthier on many levels.

Case else: remember on certain things we're all idiots compared with certain people...  ;)

Share this post


Link to post
Share on other sites



Hi Bert,

Yes, I did. That's how I wrote the first of those three lines.

Thanks,

Antoine


If this is obvious or easy to you: Be kind, it's healthier on many levels.

Case else: remember on certain things we're all idiots compared with certain people...  ;)

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0