Is it possible to have a sharp window form border?

  • Thread starter Thread starter Efkas
  • Start date Start date
E

Efkas

Hi

I use these two properties to have nothing except the content of the
window form on the display :
// Removing the maximize, minimize and close in the titlebar
frmTabrows.ControlBox = false;
// Remove the 3d border and the titlebar
frmTabrows.FormBorderStyle =
System.Windows.Forms.FormBorderStyle.None;

But there is still remaining a small, very very very small and thin
border of 1 or 2 pixel that produce a window effect.

The consequence is when I do a mdi parent window of 800X600, and when
I include a 800X600 child inside there is an offset of the border on
the child display instead fit exactly the child on the parent.

Anybody know how to have sharp borders?

Thanks
François

*-----------------------*
Posted at:
www.GroupSrv.com
*-----------------------*
 
Hi!
How about using the client area property of the forms to resize them.
Maybe the client area of the parent is less than 800*600? Otherwise,
you might have to look into the win API on sending a message os
setting some flag. Hope this helps.

- Peder -
 
Back
Top