Click to See Complete Forum and Search --> : Help:why ShowWindow(SW_HIDE) does not work?


Mike2000
April 7th, 1999, 03:56 AM
I want my App emerge on system tray when running and the Dialog GUI does not appear at all. when I use ShowWindow(SW_HIDE) in OnInitDialog,it seems does not work! why? does anyone can help me? thank you in advance.

anuvk
April 7th, 1999, 04:18 AM
Buddy ,
Create MOdeless Dialog with the Visible Property
off in Dialog editor.
i.e CDialog::Create(..) instead of CDialog::DoModal()
In OnInitDailog after cDialog::OnInitDialog()
call Shell_NotifyIcon
anuvk