Jump to content

Reading a tab's label


csh
 Share

Recommended Posts

Hello,

Any idea how to read the label of a tab? The tab is not custom in my case but belongs to an application.

I was trying something like this but it doesn't return anything:

_GuiCtrlTab_GetItemText(ControlGetHandle(WinGetTitle("[CLASS:#32770]",""),"",12320),1))

Where 32770 is the class of the main window that contains the tab container and 12320 the id of the tab container.

I can use the _GuiCtrlTab_GetItemCount() in a similar fashion like above to get the number of tabs though...

Any help would be highly appreciated.

Thanks!

Edited by csh
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...