Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Adding an icon to a user control

3 views
Skip to first unread message

Elia Karagiannis

unread,
Nov 24, 2002, 5:55:03 PM11/24/02
to
I have made a series of controls for the designer, but I cant seem to find
where I specify the cool icon for the toolbox.

Elia


Benjamin Wulfe

unread,
Dec 3, 2002, 6:49:08 PM12/3/02
to
Have you followed the steps described in the following articles?

http://www.intelprog.com/articles/index.html

and

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpguide/htm
l/cpconclassvscomponentvscontrol.asp

So, your control works in the Toolbox, but shows the cogwheel instead?

This is provided "AS IS", with no warranties, and confers no rights.

Elia Karagiannis

unread,
Dec 3, 2002, 10:58:48 PM12/3/02
to
That is correct. My control works but displays the cogwheel. How can I
change that cogwheel to my own icon??

Elia

"Benjamin Wulfe" <be...@microsoft.com> wrote in message
news:lXM9ZaymCHA.2352@cpmsftngxa08...

Alex Yakhnin

unread,
Dec 4, 2002, 6:22:25 AM12/4/02
to
Create a bitmap icon and name it as the full name of your control. For
example:
XYZCompany.Forms.Controls.MyControl.bmp.
If you use the batch file to compile the design-time version, add the
following line to it:
/res:XYZCompany.Forms.Controls.MyControl.bmp
--
Alex Yakhnin, eMVP
Windows CE Program Manager
IntelProg, Inc.
http://www.intelprog.com


"Elia Karagiannis" <elia...@hotmail.com> wrote in message
news:OhK4vl0mCHA.216@TK2MSFTNGP10...

Jay Drozd

unread,
Dec 6, 2002, 11:28:17 AM12/6/02
to
Just a question, but what size bitmap should you create. I got it to not
use the cogwheel, but can't really make out what is there. It looks
something like my icon with a '!' next to it

-Jay


"Alex Yakhnin" <a.ya...@att.net> wrote in message
news:uzGEzg4mCHA.948@TK2MSFTNGP10...

Alex Yakhnin

unread,
Dec 8, 2002, 7:20:16 PM12/8/02
to
16x16

--
Alex Yakhnin, eMVP
Windows CE Program Manager
IntelProg, Inc.
http://www.intelprog.com


"Jay Drozd" <jmd...@hotmail.com> wrote in message
news:uRLM5RUnCHA.1608@TK2MSFTNGP10...

0 new messages