HINSTANCE to HWND
I use ShellExecute to create a new app instance from my current app. I want to get the HWND o开发者_StackOverflow中文版f that app. Is it possible to get HWND from HINSTANCE or I need to use EnumWindows?
you're right, you need to enum your windows
this question will help you further
An application does not have a single HWND. Each window within the app has its own handle, an HWND.
You will need to use EnumWindows() or one of its friends.
加载中,请稍侯......
精彩评论