PDA

View Full Version : Help replace form's title bar


zigzag
06-16-04, 06:39 PM
I need help in drawing over the form's title bar. I know this is possible, but I couldn't find any examples. If someone could just post a simple code (either VB .NET or C# .NET) , I'd be very grateful. Thx.

adhdprogramming
07-13-04, 10:05 AM
i only know of one way to do this

when you are in the form designer go to the properties of the form you want to write over the title bar on. under apperance is an option that called formborderstyle. it is defaulted to either dfault or sizable depending on your version of vs.net. from there you can change that to none and the title bar and rim of blue or whatever color disapears. the only problem wiht this is that if you wanted to still have the close, minimize, and maximize options availiable you would have to manually implement them and programatically set them to do the corresponding function (not hard to do)

hope this helps, richard

richardcday.com