Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Get application name in a window

Status
Not open for further replies.

rdcshxl

Programmer
Oct 24, 2000
2
SE

How can I get the application name by knowing hWnd of a window only? I'm using WIN32 SDK.

Thanks,
 
Actually I am writing a hook program.

By parsing lpszCmdLine of WinMain function , we can get the application name of the hook program. But how to get the application name of the window I point to?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top