CreateProcess to DOS-style GUI application-
I have a problem with black window (like question from 15/05/01). I call from my app.(by CreateProcess) the MATLAB created exe, that open black window(like DOS) and from it - the GUI window. The app. use this wind. to output log.data, but I don't want see it.
I can't call CreateProcess with SW_HIDE flag because the GUI window will be hidden too.
I tried change size and position of black window, but I still have his button on the System Toolbar. How can I remove it?
Re: CreateProcess to DOS-style GUI application-
Did you try ShowWindow(hwnd,SW_HIDE)? It seems there isn't another way...
Rating isn't important...But gurus respect it and keep high
Re: CreateProcess to DOS-style GUI application-
I actually do it yet and it's OK.
The problem was that I must be call CreateProcess and after then make FindWindow and ShowWindow(..,SW_HIDE), so it doesn't hide the GUI window too.
Thank u for response.