The khm_show_main_window() function is no longer called
authorJeffrey Altman <jaltman@secure-endpoints.com>
Wed, 14 Nov 2007 22:34:53 +0000 (22:34 +0000)
committerJeffrey Altman <jaltman@secure-endpoints.com>
Wed, 14 Nov 2007 22:34:53 +0000 (22:34 +0000)
commita480b543fefd084131f1ff2c9f1e7e42f5edcfba
tree089e5ab661b893870661442c76635f930c67a5fb
parent5363eb0e6fcb0fb4e12bf3eb9cb35e2e3161773a
The khm_show_main_window() function is no longer called
at startup with khm_nCmdShow == SW_SHOWMINIMIZED in order to
hide the main application by calling khm_hide_main_window().
Instead, the main application window is simply never shown.

As a result, khm_show_main_window() needs to respond to
khm_nCmdShow == SW_SHOWMINIMIZED not by hiding the window
but by changing the khm_nCmdShow state to SW_SHOW and then
calling ShowWindow().

This change will address the problem whereby "Show NIM Window"
had to be triggered twice by the user when the process
was started in a minimized state.

ticket: 5842

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@20164 dc483132-0cff-0310-8789-dd5450dbe970
src/windows/identity/ui/mainwnd.c