   Virtual Desktops
  Hi guys, first post here. I've asked the same question on another forum but it seems no one there is able to answer my question, so I thought I'll try here. Well to be precise, the other forum did haver one user that knew a thing or two but I don't think he is able to answer the second part to my question. Here's a copy 'n' paste:Quote:Recently, I've discovered programs that are capabale of displaying multiple desktops. Before I actually saw the program in action (Cube DeskTop) I thought this was completely impossible to do on Windows... infact I thought performing any sort of drawing (GDI and even Direct3D) on the desktop was impossible. So my question is, what functions are used to achieve these "effects"?The user then mentioned that it is possible to create multiple desktops using then function CreateDesktop(...). The second part to my question was:Quote:...how do programs like Cube DeskTop manage to create the cube?... well actually that can be easily done using DirectX (more specifically Direct3D)... I meant how do they put every desktop's image in a cube format? or any format for that matter...That's what I would really like to know! as I have the urge to create a program similar to Cube DeskTop :).Thank you guys for any help that you might give (a.k.a. "thanks in advance"), haha.   
  All you need to do is take a snapshot (capture the desktop image into a texture object) of each virtual desktop and use those snapshots as textures on the faces of the cube.;  Oh haha! Is that all?... well anyways thank you. If I have any more questions I'll be sure to post. Thank you.EDIT - Well, what was the function used for screenshots again? I'm sorry, I havn't been programming for a while now and forgot it. Thanks again.[Edited by - VirtualProgrammer on April 25, 2009 6:37:13 AM];  Here's an example of one way to do it: Capturing an Image.;  Hehe thanks but I ment using DirectX :)... GDI is a little boring when you come to do some effects...   ;  Hehe there's nothing stopping you from taking the captured bitmap and creating a DX texture from that...HBITMAP to Texture