CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 5 of 5
  1. #1
    Join Date
    Nov 2007
    Posts
    53

    DeskSpace and the ways of....

    How does DeskSpace work?
    See: http://www.youtube.com/watch?v=OZvr9BXBcL0 for example if you haven't used it before.

    It's wonderful, but I'm much more interested in how it works.
    It literally locks you out of the normal windows display, and renders a 3D set of bitmaps.
    I'd rather work in 2D, but the method should still be the same for blocking access, and rendering your "application" until the user has selected an item....

    For instance, a custom "Start Menu" that toggles over the HDC of screen when hotkey is pressed. Easy enough, but how does one render ontop of the screen and lock the pixels or lock the bitmap render of the HDC? Normally when you render to the HDC, especially when using SetPixel etc... It will refresh when you use move something in explorer.exe , like a window, or clicking/highlighting a button. Is it even possible to do this using GDI? Or does deskspace actually apply a 3D application that's un-exitable over the entire screen?
    (I suppose TopDesk from Otaku would be a more specific example of what I want. All in 2D, and rendered over the screen HDC, until the user selects an item - I want to program something very similair)

    Any pointers would be greatly appreciated!

  2. #2
    Join Date
    Jun 2007
    Location
    MA-USA
    Posts
    247

    Re: DeskSpace and the ways of....

    The trick is to write a shell hook.
    Once you have that, you can make windows look and act any way you want.
    Check out BBLean, it is an open source shell hook\replacement.
    This is one of the smallest hooks out there.

  3. #3
    Join Date
    Nov 2007
    Posts
    53

    Re: DeskSpace and the ways of....

    hey thanks a ton for the info. That's exactly what I was needing to research/type into google - "shell hook".


  4. #4
    Join Date
    Jan 2008
    Posts
    178

    Re: DeskSpace and the ways of....

    Quote Originally Posted by bitshifter420
    The trick is to write a shell hook.
    No, it doesn't use a Shell hook...

  5. #5
    Join Date
    Nov 2007
    Posts
    53

    Re: DeskSpace and the ways of....

    hmmm, well then how does one accomplish this task then? >.<

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured