| |

VerySource

 Forgot password?
 Register
Search
View: 702|Reply: 1

Problem getting process id

[Copy link]

1

Threads

1

Posts

2.00

Credits

Newbie

Rank: 1

Credits
2.00

 China

Post time: 2020-2-15 07:30:01
| Show all posts |Read mode
Get the current process id using GetCurrentProcessID
What if I want to get the process id of the window named 'myform'?
Reply

Use magic Report

0

Threads

12

Posts

12.00

Credits

Newbie

Rank: 1

Credits
12.00

 China

Post time: 2020-6-25 21:00:02
| Show all posts
FindWindow() find window
GetWindowThreadProcessID() gets the process ID of the window
Reply

Use magic Report

You have to log in before you can reply Login | Register

Points Rules

Contact us|Archive|Mobile|CopyRight © 2008-2023|verysource.com ( 京ICP备17048824号-1 )

Quick Reply To Top Return to the list