CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  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 online now 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

On-Demand Webinars (sponsored)

We have made updates to our Privacy Policy to reflect the implementation of the General Data Protection Regulation.