CWindow::GetWindowThreadID
Pobiera identyfikator wątku, który utworzył określonego okna.
DWORD GetWindowThreadID( ) throw();
Uwagi
Zobacz funkcję GetWindowThreadProcessID w Windows SDK.
Przykład
//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();
Wymagania
Nagłówek: atlwin.h