forum.vdsworld.com Forum Index forum.vdsworld.com
Visit VDSWORLD.com
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


IE7 Hide some buttons - [SOLVED]

 
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> General Help
View previous topic :: View next topic  
Author Message
LiquidCode
Moderator Team


Joined: 05 Dec 2000
Posts: 1753
Location: Space and Time

PostPosted: Mon Aug 31, 2009 6:28 pm    Post subject: IE7 Hide some buttons - [SOLVED] Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website
LiquidCode
Moderator Team


Joined: 05 Dec 2000
Posts: 1753
Location: Space and Time

PostPosted: Thu Sep 03, 2009 3:32 pm    Post subject: Reply with quote

Figured it out!
_________________
Chris
Http://theblindhouse.com
Back to top
View user's profile Send private message Send e-mail Visit poster's website
vdsalchemist
Admin Team


Joined: 23 Oct 2001
Posts: 1448
Location: Florida, USA

PostPosted: Thu Sep 03, 2009 6:51 pm    Post subject: Reply with quote

Would you mind sharing the solution with us? Smile
_________________
Home of

Give VDS a new purpose!
Back to top
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger
LiquidCode
Moderator Team


Joined: 05 Dec 2000
Posts: 1753
Location: Space and Time

PostPosted: Thu Sep 03, 2009 8:18 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website
vdsalchemist
Admin Team


Joined: 23 Oct 2001
Posts: 1448
Location: Florida, USA

PostPosted: Fri Sep 04, 2009 6:12 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger
LiquidCode
Moderator Team


Joined: 05 Dec 2000
Posts: 1753
Location: Space and Time

PostPosted: Fri Sep 04, 2009 6:14 pm    Post subject: Reply with quote

Thanks!
_________________
Chris
Http://theblindhouse.com
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> General Help All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum

Twitter@vdsworld       RSS

Powered by phpBB © 2001, 2005 phpBB Group