I am trying to create a window from a thread. I currently am working in a Single Document Interface MFC program and would like to call CWnd::Create. I see that many parameters are needed, most of which I understand. But I don't know how to get the address of the parent window nor do I understand the importance of UINT nID.

virtual BOOL Create( LPCTSTR lpszClassName, LPCTSTR lpszWindowName, DWORD dwStyle, const RECT& rect, CWnd* pParentWnd, UINT nID, CCreateContext* pContext = NULL);
What is the best way to call this function from it's own thread.