CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 6 of 6

Thread: How Did They...

  1. #1
    Join Date
    Apr 1999
    Posts
    2

    How Did They...



    Anybody here know of the program WindowBlinds(www.windowblinds.net)???

    Well, I was wondering how they did that. Does anybody know???

  2. #2
    Join Date
    May 1999
    Posts
    53

    Re: How Did They...



    Maybe they got the HWND of the windows and changed the color or other attributes.

    I don't know exactly what WindowBlinds does though.

  3. #3
    Join Date
    May 1999
    Posts
    53

    Another Idea



    Maybe they installed a hook that intercepted paint messages and drew them in a different way.



  4. #4
    Guest

    Re: Another Idea

    Well, if you look at the earlier versions, you can see that sometimes it makes a mistake when drawing the close/min/max buttons. This leads me to believe that they are just intercepting the creation / sizing messages and then just drawing bitmaps _over_ the ones drawn by Windows


  5. #5
    Join Date
    May 1999
    Posts
    25

    Re: How Did They...

    Hi,
    Manipulating the Non-Client (Caption, border, caption buttons) is fairly straight forward.
    I have done it myself.
    However I have not intercepted or hook another
    program and changed their look and feel.

    In MFC you can derive a class from just about any CWnd derived class
    and override the NCACTIVATE, MOUSEACTIVATE, NCPAINT, NCHITTEST messages etc.. and basically do
    what you like.

    The menubar area. however is a bit of a problem.




  6. #6
    Join Date
    May 1999
    Location
    Latvia
    Posts
    30

    Re: How Did They...

    they installed systemwide hook by using SetWindowHook function. Use QuikView to see other windows functions they are using


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