예제 #1
0
        public static void AppendToWallpaperArea(IntPtr handle)
        {
            if (HandleUtil.NeedSeparation)
            {
                HandleUtil.SpawnWorker();
            }

            WindowNative.SetParent(handle, HandleUtil.WallpaperArea);
        }
예제 #2
0
        public static void RemoveFromWallpaperArea(IntPtr handle)
        {
            WindowNative.SetParent(handle, IntPtr.Zero);

            UpdateWallpaper();
        }