System.ComponentModel.Win32Exception: The parameter is incorrect
Hi everyone,
on click of a tabcontrol in a Windows form the following Exception occurs .
please help me. Thanks in advance..
System.ComponentModel.Win32Exception: The parameter is incorrect at System.Windows.Forms.NativeWindow.WindowClass.Regi sterClass()
at System.Windows.Forms.NativeWindow.WindowClass.Crea te(String className, Int32 classStyle)
at System.Windows.Forms.NativeWindow.CreateHandle(Cre ateParams cp)
at System.Windows.Forms.Control.CreateHandle()
at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
at System.Windows.Forms.Control.CreateControl()
at System.Windows.Forms.Control.SetVisibleCore(Boolea n value)
at System.Windows.Forms.TabPage.set_Visible(Boolean value)
at System.Windows.Forms.TabControl.UpdateTabSelection (Boolean updateFocus)
at System.Windows.Forms.TabControl.OnSelectedIndexCha nged(EventArgs e)
at System.Windows.Forms.TabControl.WmSelChange()
at System.Windows.Forms.TabControl.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.O nMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.W ndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
|