|
-
June 21st, 1999, 06:19 AM
#1
About ShellExecute Function
How to get Handler to window(HWND) that was created by function "ShellExecute" function?
-
June 21st, 1999, 06:52 AM
#2
Re: About ShellExecute Function
ShellExecute() returns an HINSTANCE if successful. You need to call EnumWindows() to list all top-level windows, and then use
hInstWnd = (HINSTANCE)::GetWindowLong(hWnd, GWL_HINSTANCE)
on each of them to see if hInstWnd matches the instance returned from ShellExecute().
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
|