CWindow::GetWindowThreadID
Ruft den Bezeichner des Threads ab, der das angegebene Fenster erstellt wurde.
DWORD GetWindowThreadID( ) throw();
Hinweise
Siehe GetWindowThreadProcessID in Windows SDK.
Beispiel
//The following example attaches an HWND to the CWindow object and
//calls CWindow::GetWindowThreadID() to retrieve the id of the thread
//that created the window
CWindow myWindow;
myWindow.Attach(hWnd);
DWORD dwID = myWindow.GetWindowThreadID();
Anforderungen
Header: atlwin.h