Any tips on how to simulate the minimize button & behaviour
UPDATE – the minimize button needs to be on the caption bar as screen real estate is @ a premium
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Probably the best you are going to get on this is to follow what some others have done and tweak it as you need to. This question has been asked before and there are some good starting points here. The basic process is, you need to override
WndProcto catch the message when the title bar is drawn, moved etc. Then you can inject your own paint method there. The real trouble you are going to have is all the code you will need to write to make your custom button match the current windows theme. In the end, you really are better off rethinking your form design to include the functionality elsewhere.