I have written an MFC dialog based application which is launched by some another application. For now, I have not added any code. It is just the default files that I got. Th
The showWindow method has 2 variable.
nCmdShow(Controls how the window is to be shown)
BOOL WINAPI ShowWindow( In HWND hWnd, In int nCmdShow );
HWND hWnd = GetSafeHwnd();
ShowWindow(hWnd,SW_HIDE);
See HERE