:) I can only surmise that is due to Global Warming of the threads. Will somehow become "unstable" or something to that effect. Please BEWARE that I have NO EXPERIENCE and NO EXPERTISE and probably onset of DEMENTIA which may affect my answers! Also, I've been told by an expert, that when you post an image it clutters up the thread and mysteriously, over time, the link to the image
So I'm going to work on that and provide the code when I get done even though that's not what you specifically asked for. Which of course will immediately display the real desktop again. And once the image being displayed on the Form looks just like the wallpaper image then the Form will turn its opacity So it would appear that all the desktop items, except the taskbar, are disappearing. Locations as the different items different pixels. Then take the desktop image and slowly change the pixels of all items in the desktop image, except the taskbar at the bottom of the desktop image, which are not in the wallpaper image assigned to the desktop, to the color of the wallpaper pixels in the same In the desktop image are just part of the image so if the user clicks on any of them nothing happens. Although the user can use Alt and Tab to shift to another app if one is already running. But the task bar at the bottom of the image and any other items displayed Then display the desktop image as the image of my borderless form and change the forms opacity to one so it fills the entire display with the form which now looks just like the desktop. In the desktop image from the wallpaper image and save that info. Then scan the desktop image and that wallpaper image to determine which pixels locations and ARGB values are different Then scan any image files the users desktop wallpaper uses for differences in pixel properties at the same location in theĭesktop image and each wallpaper image if more than one is used to determine which wallpaper image is currently being shown on the desktop. Since my wallpaper changes images every 30 minutes and all the images are stored in a folder for that custom desktop display. Then finding any image files used as the desktops wallpaper Well I was thinking along the lines of getting an image of the desktop after launching a borderless form sized to the entire screen with an opacity of zero (totally opaque (see through)). And also I want to show them again so I can fix them.So any codes? :)
I want to make a prank with my friend, so I want to hide the desktop icons. Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click SendMessage(hWnd, WM_COMMAND, toggleDesktopCommand, IntPtr.Zero) Private Const WM_COMMAND As Integer = &H111ĭim toggleDesktopCommand = New IntPtr(&H7402)ĭim hWnd As IntPtr = GetWindow(FindWindow("Progman", "Program Manager"), GetWindow_Cmd.GW_CHILD) Private Shared Function SendMessage(ByVal hWnd As IntPtr, ByVal Msg As UInt32, ByVal wParam As IntPtr, ByVal lParam As IntPtr) As IntPtr Private Shared Function GetWindow(ByVal hWnd As IntPtr, ByVal uCmd As GetWindow_Cmd) As IntPtr Private Shared Function FindWindow(ByVal lpClassName As String, ByVal lpWindowName As String) As IntPtr