I use ShellExecute to create a new instance of the application from the current application. I want to get the HWND of this application. Is it possible to get HWND from HINSTANCE or do I need to use EnumWindows?
you are right, you need to list your windows
this question will help you
The application does not have any HWND . Each window in the application has its own descriptor, HWND .
HWND
You will need to use EnumWindows() or one of his friends.
EnumWindows()
Source: https://habr.com/ru/post/1342273/More articles:Magento Headers Already Submitted - magentoExport all my emails from your Gmail account as xml - emailIncluding CSS file in TYPO3 Backend? - cssConvert string to TCHAR * in VC ++? - visual-c ++How to host multiple sites in Tomcat? - tomcatIs there a way to set what is returned when a variable is requested? - c #subtle difference in using xargs and xargs -i - bashHow to define and use boost :: function with "optional arguments"? - c ++Renaming the .NET 2.0 executable - c #What happened to this JSF EL statement? - javaAll Articles