Jump to content

Tab control handles


Recommended Posts

I have an application that uses a tabbed interface to switch between windows.

Each window has its own set of controls.

I used Window Info to examine the handles and noted that the handles for each windows' controls are unique from one another (ie: window1's controls have a different handle from window2's controls), as expected.

But I am unable to successfully retrieve the handles of the corresponding window's controls when I switch between tabs.

I use a simple controlgethandle call and pass in the main application window as well as the tab control by class name, which then returns the handles for the first tab.

Of course...they have the same class names, so that's why it returns the handles for the first window's controls and not the second. How do I get the second window's control handles?

The other tab lists are hidden unless I switch to the corresponding tab.

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