how to create controls in non-client area of forms

  • Thread starter Thread starter Peter Rilling
  • Start date Start date
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.
 
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
 
Back
Top