Title: [msvc] Only display system tray Icon..

Hi,
  I have an application that has an icon on the system tray. I dont want my
window to appear, only the icon on the system tray.

The application is a CFormview, and I have inserted the following code:

BOOL CMyApp::InitInstance()
{
...
...
 m_pMainWnd->ShowWindow(SW_HIDE);
 m_pMainWnd->UpdateWindow();


this doesnt show the main window, which is correct, but I get the window
floashing up for a second, then disappearing. Is there a way to not have the
window appear at all?

Neil


Reply via email to