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.
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.