|
-
Dec 12th, 2006, 09:16 AM
#1
Thread Starter
New Member
How to get the PID of the process itself ?
Hello,
Could anyone please answer me a simple question ...
How to get the process ID of the VB application itself when it is started
(I need to use it for some timing problems) ? I can enumerate all
Windows and find it by name, but there is probably a simpler method.
Actually one more question: How to get a handle to a system window
by its Class Name ? There is always a system window associated with
Clipboard, its Class Name: CLIPBRDWNDCLASS. How to get a handle to it ?
I am able to do that first copying something to the clipboard and than call :
GetClipboardOwner(), but I need to get a handle to it before copying.
Is it possible ? When I enumerated all Desktop children, this system window is
not shown in the list.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|