...
When the WMC needs you to create the window relating to your navigation tree item then it calls the callback function NavigationItemUIInterface interface function NavItemCreateWindow. In this function you need to return the HWND associated with your window.
...