Hi All,
i was wondering if anyone knows of a way that I can remove the Title bar from the UI forms using C#. You used to be able to do this using Win32 dialog boxes, however I can't seem to find out how you can do it using managed code. Anyone know
Thanks,

Removing the Title Bar from the Form using Compact Framework
gbvdh
Rachad
Mark Benningfield
Try setting the ControlBox property of the form to false.
Louise
sveroa
Hi Rachad,
I'm not sure how to do this in the compact framework but could you let us know what you are trying to achieve I may be able to offer an alternative answer. . .
Richard
2006
Sergey,
I already have tried that. I also have removed the minimise, maximise and close control boxes from the title bar. I would think, well hope that there should be a way to do this. Any other ideas
Thanks
Wee Bubba
Damien Liddane
I have developed a custom application that uses the whole screen. The OS is not used for any other purpose other than running the custom application, so the title bar is not required. I have developed the application for a custom device and for this application, the title bar is considered a "waste of space". When testing out the application, I used a pocket PC and was able to achieve a window without a title bar. However, when transferring the application to the custom device the application now has a title bar, which needs to be removed. Any ideas
Thanks,
Rachad
JonEagle
Hi Rachad
In addition to Sergey's sugestion, try setting the Form.FormBorderStyle to None and the Form.ControlBox to false. This works for my device.
This should hide the window title (caption). The Start Menu will still be visible.
If you want a real 'Full Screen' do what Richard suggests.
HTH
Michael
KevinBurton
Hi Rachad,
What version of the compact framework are you using If you are using .NETCF2.0 the Maximized property of the form should work. I have found bugs with this though, as the OS controls the system bar and this sometimes gets in front somehow. I've had to live with this to some extent; I suppose I should check this behavior out with MS <g>. There are a couple of other options though and these are useful if you are not using .NETCF2.0:
1) If your using WM5.0 I believe you can PInvoke into the SHFullScreen() API call. Do a MSN or Google search for this.
2) I found some helpful code from 'The Code Project' web site that does this manually, you can find it here: http://www.codeproject.com/netcf/netfullscreen.asp The code is for VB.NET but read the comments below. Someone has posted a C# version and some others have made some suggestions.
HTH
Richard