Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Windows Forms / Design Time / July 2004

Tip: Looking for answers? Try searching our database.

what control designer does TabControl use?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Bob - 27 May 2004 00:18 GMT
I need to inherit from it so I can remove access to a few properties in the
designer. If I use a designer inherited from ParentControlDesigner I lose
design-time mouse events.

Bob
Eric Cadwell - 27 May 2004 19:41 GMT
System.ComponentModel.DesignerAttribute
DesignerBaseTypeName: System.ComponentModel.Design.IDesigner
DesignerTypeName: System.Windows.Forms.Design.TabControlDesigner,
System.Design, Version=1.0.3300.0, Culture=neutral,
PublicKeyToken=b03f5f7f11d50a3a
TypeId:
System.ComponentModel.DesignerAttributeSystem.ComponentModel.Design.IDesigne
r

You can't inherit from this class. You'd have to roll your own.

HTH;
Eric Cadwell
http://www.origincontrols.com
Bob - 28 May 2004 15:00 GMT
My biggest complaint about DotNet, there are way too many classes that are
not inheritable.

Hmmm... put the verbs back in... override WndProc for MouseMove and
Activate... make a new IDesignerMouseEventListener interface... yep I guess
that works.

thanks,
Bob

> System.ComponentModel.DesignerAttribute
> DesignerBaseTypeName: System.ComponentModel.Design.IDesigner
> DesignerTypeName: System.Windows.Forms.Design.TabControlDesigner,
> System.Design, Version=1.0.3300.0, Culture=neutral,
> PublicKeyToken=b03f5f7f11d50a3a
> TypeId:

System.ComponentModel.DesignerAttributeSystem.ComponentModel.Design.IDesigne
> r
>
[quoted text clipped - 3 lines]
> Eric Cadwell
> http://www.origincontrols.com
Mick Doherty - 19 Jul 2004 15:07 GMT
Did you get your designer to work properly?
I've just started to do this and I can't get any mousebutton events for the
DesignSurface that is not a TabItem.

Signature

Mick Doherty
http://dotnetrix.co.uk/nothing.html

> My biggest complaint about DotNet, there are way too many classes that are
> not inheritable.
[quoted text clipped - 12 lines]
> > PublicKeyToken=b03f5f7f11d50a3a
> > TypeId:

System.ComponentModel.DesignerAttributeSystem.ComponentModel.Design.IDesigne
> > r
> >
[quoted text clipped - 3 lines]
> > Eric Cadwell
> > http://www.origincontrols.com
Mick Doherty - 31 Jul 2004 00:09 GMT
For anybody that's interested...

just intercept WM_NCHITTEST and return HTCLIENT instead of HTTRANSPARENT.

Signature

Mick Doherty
http://dotnetrix.co.uk/nothing.html

> Did you get your designer to work properly?
> I've just started to do this and I can't get any mousebutton events for the
[quoted text clipped - 17 lines]
> > > PublicKeyToken=b03f5f7f11d50a3a
> > > TypeId:

System.ComponentModel.DesignerAttributeSystem.ComponentModel.Design.IDesigne
> > > r
> > >
[quoted text clipped - 8 lines]
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.719 / Virus Database: 475 - Release Date: 12/07/2004

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.