Re: My own control

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



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==]
>


.



Relevant Pages

  • Re: MORE Lyle Blake Info......
    ... control that will do what you want to do... ... Why not take all your best stuff, gather it into a DLL and produce your own ... core functionality for Windows? ... >Of course the Parent App will almost certainly not be one of my own ...
    (comp.lang.pascal.delphi.misc)
  • Re: VB.NET 2008 not backward compatable?
    ... WPF has control templates and styles which offer ... a long hard slog with the API in VB6. ... Irony is you saying that Windows is COM centric and then blaming COM's bad ... VB can write a standard non-COM DLL. ...
    (microsoft.public.dotnet.languages.vb)
  • Re: MORE Lyle Blake Info......
    ... >>A standard progress bar control, subclassed to put in the percentage... ... Painting your own may be fun, but it's really just duplicating what windows ... >possibly tell the DLL to shut down ...
    (comp.lang.pascal.delphi.misc)
  • Re: My own control
    ... and is derived from the Label class into a DLL. ... "There are no components in your DLL that can be placed in the toolbox" ... >> I've created a customized Panel by deriving from the Panel class and ... >> How hard would it be to make this new control available in the ToolBox? ...
    (microsoft.public.dotnet.framework.windowsforms.controls)
  • Re: What makes the icon appear in the toolbox for a new control?
    ... Find great Windows Forms articles in Windows Forms Tips and Tricks ... > I created a control and added to my toolbox and it worked fine including ... > project that contains the control into an existing project. ... > in the toolbox the icon stubbornly refuses to appear. ...
    (microsoft.public.dotnet.languages.csharp)