Click to See Complete Forum and Search --> : How Did They...


SatansRemains
March 30th, 1999, 03:05 PM
Anybody here know of the program WindowBlinds(www.windowblinds.net)???

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

shellreef
March 30th, 1999, 05:36 PM
Maybe they got the HWND of the windows and changed the color or other attributes.

I don't know exactly what WindowBlinds does though.

shellreef
March 30th, 1999, 05:38 PM
Maybe they installed a hook that intercepted paint messages and drew them in a different way.

April 5th, 1999, 06:51 PM
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

Andy St.Clair
April 6th, 1999, 01:29 AM
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.

Andris Spruds
June 30th, 1999, 07:17 AM
they installed systemwide hook by using SetWindowHook function. Use QuikView to see other windows functions they are using