WinMain and nCmdShow


#1

I would like my application to respect the flags passed to the WinMain function in the nCmdShow parameter, such as SW_MAXIMIZE. However, it looks like that parameter is discarded by the WinMain generating macro, and I don’t know of any Windows API call that would allow me to access it later.

Is there any way to do this? Or do I need to modify the JUCE code?

Matt


#2

I think that’d involve some hackery to the juce code, unless you can find a win32 command to get the flags later.


#3