how to create controls in non-client area of forms

P

Peter Rilling

You have to plug into the OS drawing messages. Here is a small program that
draws in the client area
(http://www.codeproject.com/cs/miscctrl/balloonnet.asp?target=balloon#xx2679
78xx). Unfortunatly you will not be able to, very easily, add controls to
non-client regions.

I don't know what controls you want to draw on the border -- do you want to
add buttons to the titlebar -- but you could set the FormBorderStyle to None
so that the client area occupies the entire form. Then you can draw
controls anywhere.
 
S

subash

Hi All

how to create controls in non-client area of forms or usercontrol.Can any
one help in getting information on this or solution for this.

regards
subash
 

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.

Ask a Question

Top