Results 1 to 5 of 5

Thread: Windows Notfification

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Feb 2017
    Posts
    147

    Windows Notfification

    i have done this before, but cant quite remember how i did it, i want to create a windows notification
    im sure i used notifyicon to do it last time, but i did have a system tray icon on that project not on this one.
    Attached Images Attached Images  

  2. #2
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    110,344

    Re: Windows Notfification

    A NotifyIcon component can be used to display a balloon tip but if you're looking to hook into the Windows Action Center then that is something else entirely.

  3. #3

    Thread Starter
    Addicted Member
    Join Date
    Feb 2017
    Posts
    147

    Re: Windows Notfification

    Code:
        Private Sub Button2_Click(sender As Object, e As EventArgs) Handles Button2.Click
            NotifyIcon1.BalloonTipText = "It Works With A Tray Icon"
            NotifyIcon1.ShowBalloonTip(10000)
        End Sub
    its fine, but i didnt really want to add a tray icon to the project, just wanted the notification
    Attached Images Attached Images  

  4. #4
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    110,344

    Re: Windows Notfification

    OK, so that is a balloon tip on Windows 10. I guess I must never have actually created one since I upgraded as I've never actually seen it look like that.

  5. #5
    PowerPoster JuggaloBrotha's Avatar
    Join Date
    Sep 2005
    Location
    Lansing, MI; USA
    Posts
    4,286

    Re: Windows Notfification

    My understanding is the .Net NotifyIcon utilizes the windows messaging system, in Win10 that's the Action Center, but since the NotifyIcon is simplified the screenshot Beanoid provided is all it'll do, you can tap into the Win10 Notification API to show messages with far more functionality and customization though.
    Currently using VS 2015 Enterprise on Win10 Enterprise x64.

    CodeBank: All ThreadsColors ComboBoxFading & Gradient FormMoveItemListBox/MoveItemListViewMultilineListBoxMenuButtonToolStripCheckBoxStart with Windows

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