Jump to content
Sign in to follow this  
csh

Reading a tab's label

Recommended Posts

csh

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

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.