Hiya.


How do I get a handle or pointer to the minimize, maximize and close buttons of a window?


What I want is to be able to draw them in OnNcPaint(). And control their location.


I could exclude the Minimize and Maximize buttons in Create() but if MFC gives them to me for just a couple of style flags, why not use them? And not using the Min/Max buttons still doesn't get me a Close button.


So, help?