This document is archived and information here might be outdated. Recommended version.
Get the TOC window.
[Visual Basic .NET] Public Sub GetTOCWindow ( _ ByRef hwnd As Integer _ )
[C#] public void GetTOCWindow ( ref int hwnd );