Jump to content

Recommended Posts

Posted (edited)
43 minutes ago, Danp2 said:

If you look at the underlying code for _WinAPI_ScreenToClient, you'll find that it calls ScreenToClient from user32.dll. Seems like this offers the same thing for python.

i use it but  There is a problem  

hwnd = win32gui.FindWindow( None,"Untitled - Notepad") 
        print(type(hwnd))

hwnd type is int , and output 7997686

when i use this handle =  7997686  not work , only accept title "Untitled - Notepad"

Edited by Hawlong

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...