This seems like a really simple problem, but seems to have a more then difficult solution.
First let me tell you what I am aiming for. I want to create a skinnable interface similar to shareaza (www.shareaza.com
). I am having no problem drawing over the caption bar by overriding WM_NCPAINT, the problem is skinning the system buttons (cancel, max, min, exc.). I want to be able to change the size/shape/ownerdraw and should be able to find the location of them somehow. I would just paint over them completely, but then in addition to lack of extra features, i dont know the true position of them to draw over.
So what I need to have is a way to either get ahold of a handle to the system menu BUTTONS, or a way to get the exact location, size, and event (hover/down/up).
(PS: Anything else that would be helpfull in doing this would be nice, im using MFC, but an expirianced WINAPI programmer. Thanks.