Splitting the desktop into two

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

hi,

Is there any option to divide my desktop into two and work different program
in the each view .

Thanks and regards,
KSMH
 
KSMH,

Do you mean dual view feature of XP where you see two desktops on two different monitors? Then you need hardware support for this -
either discrete or built-in graphics must support it.

Or do you mean you want to split one (regular) desktop on XP(e) with your own application software?
Well, this is possible as well but would require good programming skills (better say, a knowledge in some Win32 programming areas).
The way how I would do this is a direct Dll injection (global hook or writing to separate process memory or else) in to the Explorer
process and intercepting/adding some more messages and controls to the Desktop window. I've done similar to some other functionality
of the Explorer but honestly it wasn't that simple to describe it here in a short post.
 
Thanks ,

I ask about the second that u mentioned. Is there any referce sample in the
net.

Its really interesting . I do that with AutoHotKey script. Its very easy .
But i need to

do that with VC++. Please help me.

Thanks and Regards,

KSMH
 
KSMH,

I am not familiar with the AutoHotKey script.
Is that this one? http://www.softpedia.com/get/System/OS-Enhancements/AutoHotkey.shtml

If it is, I can assume that the implementation is quite similar to what I have drawn in the previous post.

However, I failed to see the feature you asked about in the list of key features of the AutoHotKey - splitting the Desktop in two
windows.

Well, there are lots of sample on MSDN and sites like CodeGuru/CodeProject/etc. with regards to the Dll injection and such.
Depending on what exactly you want to implement it may take an effort to do that. Keep in mind that you injected code will have a
way to mess with the Desktop messages but you surely won't know how they are currently handled by Explorer. In other words, the
implementation you are going to come up with will require some reverse engineering of some Explorer/Desktop logic (not big deal
though with the right tools in hands such as Spy++, ProcessExplorer, etc.).
Just to encorage you, I've done similar with Desktop and some other Microsoft apps. The most time it took to make the new shell
application (or the monitoring app) to work stable. Since it was a hack into another process address space, it take some precautions
to stabilize the implementation.
 
Back
Top