WFC DeskMgr
A Visual J++ Sample Application
© 1998 Microsoft Corporation. All rights reserved.
Other product and company names herein may be the trademarks of their respective owners.
Contents - Click any of the items below
DeskMgr is a Desktop Icon Manager that allows you to change the otherwise unchangeable aspects of the icons on your Windows 95 or Windows NT desktop. Knowing that the desktop is, in fact, a Win32 ListView, you can set styles and colors that aren't exposed in the normal desktop properties settings.
When running, the information icon appears in the system tray. Right-clicking this icon will bring up a menu that allows you to change the style of the desktop, setting it to large icons, small icons, or details. It also allows you to set the labels to be transparent. DeskMgr allows you to specify settings on startup using command-line parameters, making it convenient to put into your startup group and always have a happy desktop.
Note: The Windows Desktop will preserve the positions of icons if the Auto Arrange option is not selected on the desktop properties. If you use DeskMgr to change the size of your icons (from large to small or vice versa) and do not check Auto Arrange option, the icons may be in odd positions when you later restart or logon to your computer. To avoid this, either run DeskMgr as a program in your Startup group to restore the sizing to match the locations saved by the shell, or simply check the Auto Arrange option on the desktop context menu.
- Control authoring with properties.
- Win32 API calls.
The DeskMgr project contains a live control as part of the project. It is an example of developing an application and a control in the same project, with the control appearing on the Toolbox for the Designer working with forms in the project.
In order to use the DeskMgr sample for the first time, you must build the project before opening the main DeskMgr form in the Designer. On the Build menu, click Build once the project is loaded into the Project Explorer window.
No special instructions are needed to run this example.
Thank you for using Microsoft products. For more information on Visual J++, visit the Microsoft Corporate Web Site or jump straight to the Visual J++ Owners Area!
You can also visit Microsoft Technical Support and Microsoft Developer Network Online.