I have created a Pocket PC chart control using VS 2005, created the
DLL, added the the control to the toolbox and now I want the control
to have an icon associated in the Toolbox (as all other controls have).
How can set the icon for a control ?

Thanks in advance!

AndreiC

Re: Pocket PC control question... by Fabien

Fabien
Fri Nov 24 14:52:02 CST 2006

Hi,

See ToolboxBitmapAttribute or place bitmap to the same folder as
control,
and with the same name as control class.

BR


Fabien Decret
Windows Embedded Consultant

ADENEO (ADESET)
http://www.adeneo.adetelgroup.com/

andrei.croitoriu@gmail.com a =E9crit :

> I have created a Pocket PC chart control using VS 2005, created the
> DLL, added the the control to the toolbox and now I want the control
> to have an icon associated in the Toolbox (as all other controls have).
> How can set the icon for a control ?
>=20
> Thanks in advance!
>=20
> AndreiC


Re: Pocket PC control question... by andrei

andrei
Sat Nov 25 02:22:52 CST 2006

I named the icon as the control class and it worked...
Thank you very much for your help!

AndreiC

Fabien wrote:
> Hi,
>
> See ToolboxBitmapAttribute or place bitmap to the same folder as
> control,
> and with the same name as control class.
>
> BR
>
>
> Fabien Decret
> Windows Embedded Consultant
>
> ADENEO (ADESET)
> http://www.adeneo.adetelgroup.com/
>
> andrei.croitoriu@gmail.com a =E9crit :
>
> > I have created a Pocket PC chart control using VS 2005, created the
> > DLL, added the the control to the toolbox and now I want the control
> > to have an icon associated in the Toolbox (as all other controls have).
> > How can set the icon for a control ?
> >=20
> > Thanks in advance!
> >=20
> > AndreiC