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

  1. #1
    Join Date
    Apr 2014
    Posts
    1

    Question PopupNotifier in console app

    Hi,

    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
    Dipke

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

    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 survey question.


Featured


HTML5 Development Center