Jump to content

Hide tab in existing windows


Maximilian0017
 Share

Recommended Posts

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?

Link to comment
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

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...