MacFly!
18th June 2004 10:08 UTC
prb with installer's size
Hi!
I have a program written in MFC which launches if it is needed, the installation of an update (by executing a installer NSIS), I use for that the function "WinExec" in my program. My program is in full screen. I note whereas the installer start too in full screen.:weird:
I would like to have installer's setting by default (appeared with the size by default and centered in the middle of the screen).
Is There a solution to correct that?
Any help is welcome.
Regards,
Nikko
Joost Verburg
18th June 2004 17:12 UTC
Are you talking about an external application? Then you'll have to contact the author of that application.
Takhir
18th June 2004 20:17 UTC
I could reproduce you situation in one case only:
WinExec("mgr.exe", SW_MAXIMIZE);
where mgr.exe is installation package. The result not depends on calling application main window state and happens both with normal and maximized application window. Try
WinExec(YOUR_PLUGIN_INSTALLER_NAME, SW_NORMAL);
In my test it was OK.
WINUSER.H(253):#define SW_NORMAL 1
#define SW_MAXIMIZE 3