How to know what window does a pointer specify on ???

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Alexander Vasilevsky

    #1

    How to know what window does a pointer specify on ???

    Using GetWindow(WinAP I) I get a pointer to the title bar ( IntPtr type). How
    I must know on what control he specifies in my app on WinForms. For example
    how to know the name of control or title bar.

    http://www.alvas.net - Audio tools for C# and VB.Net developers


  • Herfried K. Wagner [MVP]

    #2
    Re: How to know what window does a pointer specify on ???

    "Alexander Vasilevsky" <mail@alvas.net schrieb:
    Using GetWindow(WinAP I) I get a pointer to the title bar ( IntPtr type).
    How I must know on what control he specifies in my app on WinForms. For
    example how to know the name of control or title bar.
    You may want to use 'Control.FromHa ndle' if the window handle belongs to
    your application (process).

    --
    M S Herfried K. Wagner
    M V P <URL:http://dotnet.mvps.org/>
    V B <URL:http://dotnet.mvps.org/dotnet/faqs/>

    Comment

    Working...