CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Apr 1999
    Posts
    11

    Help:why ShowWindow(SW_HIDE) does not work?

    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.


  2. #2
    Join Date
    Apr 1999
    Posts
    65

    Re: Help:why ShowWindow(SW_HIDE) does not work?

    Buddy ,
    Create MOdeless Dialog with the Visible Property
    off in Dialog editor.
    i.e CDialog::Create(..) instead of CDialog:oModal()
    In OnInitDailog after cDialog::OnInitDialog()
    call Shell_NotifyIcon
    anuvk


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured