CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Mar 1999
    Posts
    1

    handle (or pointer even) to minimize btn et al



    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?

  2. #2
    Join Date
    Mar 1999
    Posts
    13

    Re: handle (or pointer even) to minimize btn et al



    Theres an API-function:

    DrawFrameControl

    maybe that helps. Good Luck


    The Fantastic-Bits Homepage

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