Does it happen for all TabPages on that TabControl? If not, what's on the TabPage that it does happen for?
|
|
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)
Does it happen for all TabPages on that TabControl? If not, what's on the TabPage that it does happen for?
2007, 2008, 2009, 2010
Why is my data not saved to my database? | Communicating between multiple forms
MSDN: Data Walkthroughs | "How Do I?" Videos
My Blog: Custom Events | Dynamic GDI+ Drawing
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks