Sign in to follow this  
Followers 0
Tsukihime

Tab control handles

1 post in this topic

#1 ·  Posted (edited)

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

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  
Followers 0