01-30-2014 12:58 PM
I have the following line of code:
LaunchExecutableEx("C:\\Programs\\1234.exe", LE_SHOWMINIMIZED, &handle);
The problem I am having is that the exe launches in a maximized state even though I have selected a windowstate of LE_SHOWMINIMIZED, even with LE_HIDE.
What could this be??
01-30-2014 04:11 PM
Please note that in my problem above I am launching a 3rd party test application. When I try the same using standard executables like wordpad.exe it works just fine.. I am wondering what would be the difference and how I might be able to fix it.
Thanks in advance!!
01-31-2014 12:10 AM
Hello x33,
I think the application (1234.exe) is starting minimized (using your attribute), but it might have code that brings it into view and maximizies it, after it has been loaded. It's just a theory, based on your observation in the 2nd post, but you could try creating a CVI application and starting that with LaunchExecutableEx. If it works, then alter the application and maximize it after you have done DisplayPanel. Try running that application by caling LaunchExecutableEx with LE_SHOWMINIMIZED and see what happens.
Best regards,
= Nelu F. || National Instruments.
01-31-2014 12:13 AM
I consider this a bug in the 3rd party test application. It doesn't handle the windows system message to minimize its window right. And to get a workaround or fix you have to ask the programmers of that application.