Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Getting access to a Tab Control Embedding in an oleObject

Status
Not open for further replies.

NegaScout

Programmer
Dec 6, 2005
7
CA
Hello,

There is a SSTabCtl embedded in an OLEOBject. I want to get access to this object (specifically, I want to find out when it's changing tabs, and what tab it's currently displaying).

I enumerated the windows and got the HWND of the Tab Ctrl, and I tracked messages going to that object (by subclassing it), and I believe that tab changing is an internal function. I tried creating a new ActiveX object, and setting the HWND member to my object (hoping I could manipulate it that way) but to no avail.

Does anyone know how I might be able to tell what tab is currently showing?? Please help!!

-NegaScout
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top