Click here to Skip to main content
15,883,854 members
Please Sign up or sign in to vote.
2.50/5 (2 votes)
See more:
How to create ATL ActiveX component like ImageList(C#)?
Need to create ActiveX component without displaying the contents.
Posted
Comments
Nelek 27-Aug-14 11:06am    
Step 1) Do a little research. Google is a good start point
Step 2) Start coding
Step 3) Compile and use the debug to solve little issues
Step 4) When you get a problem you don't know how to solve but at least you tried it, then come back and ask for something concrete with a snippet of the code giving problems

Sorry if this is not the answer you were looking for. But your question is a bit too wide to be answered at the "Quick" Answers. It is better and you get faster help if you make 10 concrete questions about concrete problems, than a big question about a "how-to guide"
vininet 29-Aug-14 3:19am    
Thanks for the answer.
I'll try to describe in detail the problem.

ATL Control gives you handle its own window(HWND). This hanlde allows to draw inside the window and create unique container(for example, a round button). And the container is visible in the form.
I don't need to draw inside that window and i don't need to make container visible in the form.
In fact, container doing his job "behind the scenes".
ImageList(C#) was chosen as an example.

-->Step 1) Do a little research. Google is a good start point
Can't find anything concrete. Maybe writing is not the right questions. Actually, decided to write here.

-->Step 2) Start coding
Is not difficult to create container(ATL Control) which can be visible in the form.

-->Step 3) Compile and use the debug to solve little issues
Last two days do only that.

1 solution

If you use Nelek receipt you already have found the solution. Else

Here is a nice tutorial right for you: Create ActiveX in .NET Step by Step.
This one looks like for newbies: How to develop and deploy ActiveX control in C#
 
Share this answer
 
Comments
Nelek 28-Aug-14 12:02pm    
Thanks for credit ;P I was too lazy to actually search for it
KarstenK 28-Aug-14 13:21pm    
The question wizard should explicitly ask for "I have searched on google" before allowing saking a question. ;-)
Nelek 30-Aug-14 9:16am    
Yeah, we should ask google to give the user a cookie that CP would use before activating the "post question" widget :P
KarstenK 30-Aug-14 13:51pm    
******
Yeah!!! ;-)

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