Quick question,
I have a form that I want to keep the border on, but no titlebar.
An example is a form with FormBorderStyle set to FixedSingle, then set the Form's Text to nothing. This is what I'm after, however, I want to maintain the "Blue" styling of Windows XP. When doing this, it currently makes the form gray like it stops using visual styles.
is there any way to get the blue "Single" border around my form without the Titlebar?
the border on the left, right, and bottom. that is what i want on the top as well. If i set the FormBorderStyle to FixedSingle (like the screenshot) and then set the Text to "", it displays like I want, except it changes the color from blue to gray. I want blue
I was able to make it using a little trick. Have a look at the attached project below. Basically it is a border-less form with a four docked label controls
Last edited by kulrom^; Feb 8th, 2010 at 07:56 PM.
You could also, if nothing else works, change the FormBorderStyle to None, override WndProc for motion, and set the BackgroundImage to a screenshot of a form in the designer without any title text, possibly with some editing (put a Button on the form, select it, take a screenshot, use a photo editor to delete the inside of the form and save it as a 32-bit PNG). Enjoy!
I was able to make it using a little trick. Have a look at the attached project below. Basically it is a border-less form with a four docked label controls
ha that's pretty neat and i actually thought about going that route (with docking and/or images) but thought maybe there was an easier way to just "FixedSingle" the form with no titlebar