How to use a windows form as active desktop?
How to use a windows form as active desktop?
I want my application to have a screen that behaves as or becomes active desktop.
I would have buttons and other UI controls on it. User should be able to click the button.
When user minimises all windows say using window+M button, my active desktop screen should be visible.
Any reply would be appreciated
--
From: mani periasamy
Hi,
You could try setting your
FormBorderStyle property to
none and set your
WindowState property to
Maximized in order to occupy the whole screen. To have an active desktop look. Press win+m would not minimize the form...
Just place a background image on the form to mimic a wallpaper. And place other buttons if you want to add additional features...
cheers,
Paul June A. Domag
Do you actually want to replace Windows Explorer as the active shell? If so, there is a registry setting that allows you to do this. Keep in mind that programs which require system tray integration might not work with this approach. However, it is completely doable.
Oh yeah, and the registry entry is:
HKLM\Software|Microsoft\Windows NT\CurrentVersion\Winlogon\Shell
Just be carefult because you can hose up your computer fairly easily by messing around with settings under the Winlogon key.