Click here to Skip to main content
16,017,788 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hi My friends , i created a dll , this dll inherited textbox control , My dll is in the toolbox , and i can drag it to My form , this dll like a gear .ok??????
how can i assign a pic or an icon to this dll??????
i want this dll does not like a gear , for example like an icon File in my hard disk , or like a jpg file ,whats the solution?????????????
Posted
Updated 5-Jul-11 23:45pm
v2

1 solution

They are called ToolBox Bitmaps, and all you have to do is set the attribute appropriately when you define the control. MSDN has the information and samples: How to: Provide a Toolbox Bitmap for a Control[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900