Results 1 to 6 of 6

Thread: 'pin' to desktop

Threaded View

  1. #1

    Thread Starter
    Super Moderator dday9's Avatar
    Join Date
    Mar 2011
    Posts
    12,376

    'pin' to desktop

    I've been googling for the past 1/2 hour with 1 result to a broken link. I'm making "Sticky Notes" and I want to be able to pin those stickies to the desktop. Sorta like a BottomMost function. Is there something like that I can use and if not, how would I even go about making a function that would keep my form on the desktop?


    Edit - I'm not going to mark the thread resolved and I'll explain below, however this kinda works:
    Code:
    'Pins the program to the desktop
            If saved = False Then
                saved = True : PinToDesktopToolStripMenuItem.Checked = True : lblClose.Visible = False : Me.ShowInTaskbar = False
            Else
                saved = False : PinToDesktopToolStripMenuItem.Checked = False : lblClose.Visible = True : Me.ShowInTaskbar = True
            End If
    The reason I'm not going to mark it resolved is because if I click pin to desktop and the desktop isn't the application directly under my application then I have to minimize every program to get it to stay on the desktop.
    Last edited by dday9; Jun 13th, 2012 at 02:59 PM.
    "Code is like humor. When you have to explain it, it is bad." - Cory House
    VbLessons | HtmlLessons | CssLessons | Code Tags | Sword of Fury - Jameram

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