Click to See Complete Forum and Search --> : handle (or pointer even) to minimize btn et al


Rev Doc Mark James OLAS
March 29th, 1999, 11:10 AM
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?

Jens Doose
March 29th, 1999, 03:34 PM
Theres an API-function:

DrawFrameControl

maybe that helps. Good Luck


The Fantastic-Bits Homepage