ActiveX Listbox

Hi,

I would like to create a custom ActiveX control.  Basically this would be a listbox, and it would automatically fill it with some data.  How would I go about doing this.  I'm using Visual C++.

Thanks
cophiAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

cophiAuthor Commented:
I would like the data to fill the listbox at runtime.  For now "A", "B", "C", can fill it.
0
mahesh1402Commented:
Well you may refer no. of tutorials on net.. some of links for ActiveX development tutorial :
http://www.codeguru.com/cpp/com-tech/activex/controls/article.php/c5517/

Alternativery this created list control activex src :
http://www.codeguru.com/cpp/com-tech/activex/controls/article.php/c2627/

refer other ActiveX related articles here :
http://www.codeguru.com/cpp/com-tech/activex/controls/

MAHESH
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
cophiAuthor Commented:
That isn't exactly what I was looking for.  I'm looking for the actual activex listbox control code so I can edit to make my own custom control or I'm trying to figure out by creating a new activex how do I call a listbox?
0
Get your problem seen by more experts

Be seen. Boost your question’s priority for more expert views and faster solutions

mahesh1402Commented:
You need to take help of above articles to create your own control.

 Its difficult to get exact relavent ready source code for your requirements. Here you will get redirections and hints for your problems but diffcult to get full ready source code from any expert.

MAHESH
0
cophiAuthor Commented:
What i'm trying to understand is?  Does Microsoft make available the code for the activex control listbox?  Or should I create an activex control that jsut displays a listbox.  I'm looking for some direction, not just samples off the internet.
0
mahesh1402Commented:
>>Does Microsoft make available the code for the activex control listbox?

No. There is NO code for ActiveX for controls like ListBox from Microsoft. You need to develop your own ListBox ActiveX.

BTW will you let us know intention to create ActiveX that also just ListBox control as ready simple ListBox MFC conrol is with you ? Or you need to add your own custom functionalities in it and want to distribute it as ActiveX ??

MAHESH
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
System Programming

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.