Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Creating Controls For VB in Visual C++

Status
Not open for further replies.

rjr9999

Programmer
Apr 7, 2001
183
US
Is it possible for me to create a control for VB in Visual C++? If so, will I be able to pass info to and from that control?
Rob
"Programming is like art...It makes me feel like chopping my ear off."
 
Yes it's possible (it's how most of the standard Microsoft controls were built).

Look up ATL in a COM reference.

I've done it, but only for non-visual controls. Lets just say I learned a lot, and leave it at that.

Chip H.
 
I made an ActiveX OCX in Visual C++(a button that plays sounds- wav files if you put them in a specified directories).

It worked, but as chiph sais you have to learn a lot in order to make special thinks.
Also you have to learn about Automation, COM. (ATL is not compulsory).
If you make an ActiveX OCX in VC++ you will have to use MFC.
There is something that will ease up your work though: the Class Wizard.

Hope this helps,
s-)

Blessed is he who in the name of justice and good will, shepards the week through the valley of darknees...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top