lmo

lmo

  • NA
  • 3
  • 0

No-Title-Bar Child form of MDI flash its title bar

Nov 9 2004 9:22 AM
I created a form without title bar named frmNoTitle. I set up the form properties like: this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None; this.ControlBox = false; this.MaximizeBox = false; this.MinimizeBox = false; In the main MDI form, I have a menu to open thisfrmNoTitle form. I add following code in the menu's click event: frmNoTitle frm=new frmNoTitle (); frm.MdiParent=this; frm.Show(); This works fine except that I noticed the frmNoTitle form's title bar(min,max,clos buttons) flashes for a very very short time, then diappear I looks like that the program displayed the form title bar first, then make it invisible. How I can get rid of it? TIA

Answers (2)