You can handle 'WM_NCPAINT' in your form's 'WndProc' and draw the button
onto the title bar. There are other 'WM_NC*' messages which are sent to the
form when mouse events occur.
BTW, I am not familliar with those Windows API functions(i.e. WM_NCPAINT),
is there any place I can find some detailed description about those
functions? Thanks.
Ask a Question
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.