Notes
L’accès à cette page nécessite une autorisation. Vous pouvez essayer de vous connecter ou de modifier des répertoires.
L’accès à cette page nécessite une autorisation. Vous pouvez essayer de modifier des répertoires.
Récupère l'identificateur du thread qui a créé la fenêtre spécifiée.
DWORD GetWindowThreadID( ) throw();
Notes
Consultez GetWindowThreadProcessID dans Kit de développement logiciel Windows.
Exemple
//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();
Configuration requise
Header: atlwin.h