Re: My own control
- From: "Fitim Skenderi" <fitims@xxxxxxxxxxx>
- Date: Tue, 29 Nov 2005 09:34:39 -0000
Hi Peter,
After you compile your control as a library (dll), all you have to do is
right-click on toolbox, select "choose items ..." option. After the "Choose
toolbox items" window appears select Browse button and browse to your dll
that holds your control(s). After you choose the dll the controls will
appear in the toolbox.
Fitim Skenderi
"Peter Oliphant" <poliphant@xxxxxxxxxxxxxxxx> wrote in message
news:Ou%23fcWH9FHA.3804@xxxxxxxxxxxxxxxxxxxxxxx
> I've created a customized Panel by deriving from the Panel class and
> adding my own functionality. For context, I'm using VS C++.NET 2005
> Express in /clr : pure and within a Console project.
>
> How hard would it be to make this new control available in the ToolBox? I
> realize it won't be 'immediately available' in a Console application
> project, but I'd like to make it available to any other project that
> happens to be a Windows Form application. I imagine it would be its own
> control, but if it replaced the existing Panel toolbox widget I wouldn't
> lose any sleep over it... : )
>
> This is not at all important, I just want to see if I can do it, assuming
> it isn't too hard. I'd be happy at first if it just brought up the
> 'vanilla' Panel Property Grid, and I could then possibly add new
> properties later on.
>
> I remember when I use to program in VB many moons ago I was able to create
> my own ActiveX controls and make them available in the Toolbox, so I'm
> guessing I can now do something similar for VC++.NET Windows applications
> as well...
>
> [==P==]
>
.
- Follow-Ups:
- Re: My own control
- From: Peter Oliphant
- Re: My own control
- References:
- My own control
- From: Peter Oliphant
- My own control
- Prev by Date: Setting DatagridView column type as Combo after databind
- Next by Date: Nevron and Exceed Chart, who copied who?
- Previous by thread: My own control
- Next by thread: Re: My own control
- Index(es):
Relevant Pages
|