| View previous topic :: View next topic |
| Author |
Message |
LiquidCode Moderator Team
Joined: 05 Dec 2000 Posts: 1753 Location: Space and Time
|
Posted: Mon Aug 31, 2009 6:28 pm Post subject: IE7 Hide some buttons - [SOLVED] |
|
|
I need to hide the Favorites button on IE7. Anyone know how to do this? I can hide the favorites bar, but the button is still there. I also need to hide or disable the drop down button next to the forward button on IE. I have tried to find the buttons ID but no luck. Any help would be great!!
See attached image. Need to hide/disable the buttons in red.
http://twitpic.com/fztip/full _________________ Chris
Http://theblindhouse.com
Last edited by LiquidCode on Thu Sep 03, 2009 3:32 pm; edited 1 time in total |
|
| Back to top |
|
 |
LiquidCode Moderator Team
Joined: 05 Dec 2000 Posts: 1753 Location: Space and Time
|
|
| Back to top |
|
 |
vdsalchemist Admin Team

Joined: 23 Oct 2001 Posts: 1448 Location: Florida, USA
|
Posted: Thu Sep 03, 2009 6:51 pm Post subject: |
|
|
Would you mind sharing the solution with us?  _________________ Home of
Give VDS a new purpose!
 |
|
| Back to top |
|
 |
LiquidCode Moderator Team
Joined: 05 Dec 2000 Posts: 1753 Location: Space and Time
|
Posted: Thu Sep 03, 2009 8:18 pm Post subject: |
|
|
Well, to find the Fav button, I used the @winatpoint() function command and found out that it's on the Favorites Command Bar. I have a timer set to look for and IE window and then cycle through to find the ID of that and Disable it. For the menu, all IE menus have a class of ##32768. In the timer, when it sees that a menu is open, I have it close it right away. For the project I'm working on, the menus are not needed or wanted. _________________ Chris
Http://theblindhouse.com |
|
| Back to top |
|
 |
vdsalchemist Admin Team

Joined: 23 Oct 2001 Posts: 1448 Location: Florida, USA
|
Posted: Fri Sep 04, 2009 6:12 pm Post subject: |
|
|
Hmmm you probably need to call the GetParent API function to make sure that menu is owned by IE. Mainly because all menu windows have that same classname even non-IE menus. Below is a list of classnames that Windows uses that are numbers instead of names incase you are interested.
- #32768 The class for a menu.
- #32769 The class for the desktop window.
- #32770 The class for a dialog box.
- #32771 The class for the task switch window.
_________________ Home of
Give VDS a new purpose!
 |
|
| Back to top |
|
 |
LiquidCode Moderator Team
Joined: 05 Dec 2000 Posts: 1753 Location: Space and Time
|
|
| Back to top |
|
 |
|