Jump to content
Sign in to follow this  
Maximilian0017

Hide tab in existing windows

Recommended Posts

Maximilian0017

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
Maximilian0017

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
Mat

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  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.