2. If the NIM window is requested to open in a minimized state, keep
the window hidden until there's a request to show it.
ticket: 5584
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@19633
dc483132-0cff-0310-8789-
dd5450dbe970
khm_startup.remote_exit = TRUE;
khm_startup.no_main_window = TRUE;
}
+ else if (!wcscmp(wargs[i], L"--minimized")) {
+ khm_startup.no_main_window = TRUE;
+ }
else {
wchar_t help[2048];
khm_create_main_window();
- if (!khm_startup.no_main_window)
+ if (!khm_startup.no_main_window &&
+ nCmdShow != SW_SHOWMINNOACTIVE &&
+ nCmdShow != SW_MINIMIZE &&
+ nCmdShow != SW_SHOWMINIMIZED) {
+
khm_show_main_window();
+ }
khm_refresh_config();