Sign in to follow this  
Followers 0
Maximilian0017

Hide tab in existing windows

3 posts in this topic

Hi,

After seeing the ANYGUI_Example_Notepad.au3 i was wondering if it would be possible to build a script that actively looks for file property windows and removes the Shortcut tab.

The search function didn't really help either and it seems that ANYGUI doesn't have anything to remove a tab.

Posted Image

(p.s. random properties window from the net)

Any idea's?

Share this post


Link to post
Share on other sites



Accidentally posted under ActiveX/COM , will repost under GUI

(Dont see any edit buttons or anything so Admins please remove)

Share this post


Link to post
Share on other sites

You can actually do this using windows messages...

If you get the handle to the control (ControlGetHandle() etc.) and then get the zero based index (one in this case) then you can send the message like this:

_SendMessage($hCtrl, $TCM_DELETEITEM, $iIndex)

Try it ;) If you still have problems then post back with some of the info from AutoIt's Window Info tool and what you tried.

Mat

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