Click here to Skip to main content
Click here to Skip to main content

Switch to and create new desktops under Win2K, WinXP

, 31 Oct 2003 CPOL
Rate this:
Please Sign up or sign in to vote.
Description and sample program on how to switch to and create new desktops under Windows2K and WindowsXP systems.

Sample Image - Desktop_Switcher.jpg

Introduction

After working with systems like Linux, I was surprised about the missing feature of virtual desktops under Windows systems.

Nevertheless they ARE supported by MS, but there is currently no tool to work with them. All tools (like Stardocks tools, NVidia tools) are limited by one very important feature: if an application on an active screen is blocking, the whole switch is impossible. So I wrote a little program to handle virtual desktops. There is also a configuration dialog, used to configure the default shell of a desktop. Normally this is the explorer.exe, but you can also define other programs. Just select the executable and possible parameters used on startup of the shell process.

The main class handling all the related stuff is encapsulated in CMFDeskTopHelper.

Also, there are some helper classes for:

  • creating single input window,
  • processing the registry,
  • parsing input keys and
  • getting hotkey values.

Comment

The sources are not well documented (and not completely new, the Platform SDK also provides a similar program, btw), and also full of crappy code. But you can use it as a base code to develop your own application.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

Share

About the Author

MikeTheDwarf
Business Analyst
Austria Austria
No Biography provided

Comments and Discussions

 
GeneralNew version PinmemberMikeTheDwarf23-May-08 9:27 
QuestionAbout Change Desktop --help? Pinmemberanti_ftn16-Dec-04 17:17 
AnswerRe: About Change Desktop --help? PinmemberMikeTheDwarf16-Dec-04 21:50 
AnswerRe: About Change Desktop --help? PinmemberMikeTheDwarf14-Feb-09 9:46 
QuestionHow to add hot-key to default desktop Pinmemberu85265054-Dec-03 20:01 
AnswerRe: How to add hot-key to default desktop PinmemberMikeTheDwarf15-Nov-04 21:34 
GeneralMy system halt after opening Acrobat Reader in different desktop PinsussAnonymous2-Dec-03 23:19 
GeneralRe: My system halt after opening Acrobat Reader in different desktop PinmemberMikeTheDwarf3-Dec-03 23:03 
GeneralYou need to go for... PinmemberDaniel Turini6-Nov-03 3:48 
QuestionUser and desktop? Pinmembervaltech6-Nov-03 3:15 
Generalwhat's about deleting Pinmembercaptain-blaubaer4-Nov-03 20:09 
GeneralRe: what's about deleting Pinmemberalpu4-Nov-03 20:34 
GeneralRe: what's about deleting PinmemberMikeTheDwarf4-Nov-03 21:35 
GeneralRe: what's about deleting Pinmembercaptain-blaubaer5-Nov-03 3:56 
GeneralRe: what's about deleting PinmemberMikeTheDwarf5-Nov-03 4:13 
Generalhope you're aware that... Pinmembergaamoa1-Nov-03 21:56 
GeneralRe: hope you're aware that... PinmemberMikeTheDwarf2-Nov-03 2:53 
GeneralRe: hope you're aware that... PinmemberBlake Coverett2-Nov-03 5:53 
GeneralRe: hope you're aware that... Pinmembervaltech6-Nov-03 3:21 
GeneralWindows explorer in new desktop Pinmemberrromerot1-Nov-03 15:58 
GeneralRe: Windows explorer in new desktop PinmemberBlake Coverett1-Nov-03 16:28 
GeneralVarious Notes PinmemberBlake Coverett1-Nov-03 10:23 
GeneralRe: Various Notes PinmemberMikeTheDwarf2-Nov-03 2:52 
GeneralRe: Various Notes PinmemberMikeTheDwarf7-Apr-09 2:27 
GeneralDoes Not Build PinmemberBill Gates Antimatter Particle1-Nov-03 8:20 
GeneralRe: Does Not Build Pinmemberyingyuheng1-Nov-03 8:45 
GeneralRe: Does Not Build Pinmemberflyingover13-Jul-06 17:18 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.

| Advertise | Privacy | Terms of Use | Mobile
Web01 | 2.8.150129.1 | Last Updated 1 Nov 2003
Article Copyright 2003 by MikeTheDwarf
Everything else Copyright © CodeProject, 1999-2015
Layout: fixed | fluid