PopupNotifier in console app
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2

Thread: PopupNotifier in console app

Hybrid View

  1. #1
    Join Date
    Apr 2014

    Question PopupNotifier in console app


    I have a console app and wants to show popupnotification in the systemtray.
    When you have a form you can add a notificationWindow.PopupNotifier.

    But i cannot add this to my console.
    What is the best way to handle this ?

    Kind regards

  2. #2
    Arjay's Avatar
    Arjay is offline Moderator / MS MVP Power Poster
    Join Date
    Aug 2004

    Re: PopupNotifier in console app

    Why can't you add it to the console?

    Just create an instance of the NotifyIcon class.

    If you need to receive events from the icon, then you probably will need to create the instance in a second thread.

    If you find it still doesn't work and need a Form, then just create a hidden form in the secondary thread.

Tags for this Thread

Posting Permissions

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

Windows Mobile Development Center

Click Here to Expand Forum to Full Width

This is a Codeguru.com survey!

HTML5 Development Center