Click here to Skip to main content
15,911,132 members
Home / Discussions / C#
   

C#

 
GeneralRe: axWebBrowser DocumentComplete Pin
John Fisher25-Mar-04 13:11
John Fisher25-Mar-04 13:11 
GeneralRe: axWebBrowser DocumentComplete Pin
Jasper4C#25-Mar-04 22:54
Jasper4C#25-Mar-04 22:54 
GeneralRe: axWebBrowser DocumentComplete Pin
John Fisher26-Mar-04 5:20
John Fisher26-Mar-04 5:20 
GeneralRe: axWebBrowser DocumentComplete Pin
Jasper4C#26-Mar-04 7:12
Jasper4C#26-Mar-04 7:12 
GeneralRe: axWebBrowser DocumentComplete Pin
John Fisher26-Mar-04 15:08
John Fisher26-Mar-04 15:08 
GeneralControl Confussion Pin
Matthew Hazlett18-Mar-04 10:27
Matthew Hazlett18-Mar-04 10:27 
GeneralRe: Control Confussion Pin
John Fisher18-Mar-04 10:38
John Fisher18-Mar-04 10:38 
GeneralRe: Control Confussion Pin
Heath Stewart18-Mar-04 13:41
protectorHeath Stewart18-Mar-04 13:41 
As the first reply said, he is using an IExtenderProvider. This is a common approach to providing functionality without having to redefine the types you want to extend. The HelpProvider is one example, as is the ToolTip and ErrorProvider components.

There's several good articles here on CodeProject about them, too. Try the following search[^]. There's a lot of good tips / ideas in these implementations as well.

I've also seen these things used for menus to provide images. While many people extend MenuItem and owner-draw the icons, some have used an IExtenderProvider so that you don't have to break the designer trying to use derivative (or completely custom) classes. I created one some time back to provide column sorting for a ListView on any column without going to the usual trouble of providing your own IComparer implementation and overriding key functinality. The provider does it for you.

 

Microsoft MVP, Visual C#
My Articles
GeneralProblems with changing a controls Docking Programmatically Pin
Gomac18-Mar-04 9:47
Gomac18-Mar-04 9:47 
GeneralRe: Problems with changing a controls Docking Programmatically Pin
Heath Stewart18-Mar-04 10:06
protectorHeath Stewart18-Mar-04 10:06 
GeneralRe: Problems with changing a controls Docking Programmatically Pin
John Fisher18-Mar-04 10:06
John Fisher18-Mar-04 10:06 
GeneralRe: Problems with changing a controls Docking Programmatically Pin
Gomac23-Mar-04 8:23
Gomac23-Mar-04 8:23 
GeneralC++ parent for a C# form Pin
Member 87320118-Mar-04 9:42
Member 87320118-Mar-04 9:42 
GeneralRe: C++ parent for a C# form Pin
Christian Graus18-Mar-04 9:53
protectorChristian Graus18-Mar-04 9:53 
GeneralRe: C++ parent for a C# form Pin
Member 87320118-Mar-04 9:58
Member 87320118-Mar-04 9:58 
GeneralRe: C++ parent for a C# form Pin
Heath Stewart18-Mar-04 10:08
protectorHeath Stewart18-Mar-04 10:08 
GeneralRe: C++ parent for a C# form Pin
Heath Stewart18-Mar-04 9:58
protectorHeath Stewart18-Mar-04 9:58 
GeneralRe: C++ parent for a C# form Pin
Member 87320118-Mar-04 10:11
Member 87320118-Mar-04 10:11 
GeneralRe: C++ parent for a C# form Pin
Member 87320119-Mar-04 8:36
Member 87320119-Mar-04 8:36 
GeneralRe: C++ parent for a C# form Pin
Heath Stewart21-Mar-04 12:48
protectorHeath Stewart21-Mar-04 12:48 
GeneralRe: UserControls at design time(VS designer) Pin
Jeremy Kimball18-Mar-04 8:13
Jeremy Kimball18-Mar-04 8:13 
GeneralRe: UserControls at design time(VS designer) Pin
Heath Stewart18-Mar-04 9:09
protectorHeath Stewart18-Mar-04 9:09 
GeneralRe: UserControls at design time(VS designer) Pin
Heath Stewart18-Mar-04 9:59
protectorHeath Stewart18-Mar-04 9:59 
GeneralRe: UserControls at design time(VS designer) Pin
Heath Stewart18-Mar-04 10:22
protectorHeath Stewart18-Mar-04 10:22 
GeneralRe: UserControls at design time(VS designer) Pin
Russell Morris18-Mar-04 9:38
Russell Morris18-Mar-04 9:38 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.