winforms.net-4.0custom-controlsnonclient

How to insert a new button in non client area?


im developing a custom form and i need to put a button right next to the minimize button. Anyone know how to do it?


Solution

  • P/Invoke would be the way forward there I would say, check out this link on msdn http://social.msdn.microsoft.com/forums/en-US/winforms/thread/485fb4c5-8430-4cb5-8a4d-ccd7892e403b.

    That should get you on your way.

    Cheers, Kevin