Forum archiveIssue archiveOther usage issues

Archived discussion

ActiveX control

Other usage issuesTue, 12/24/2002 - 15:471 reply

Browse this forum
QuestionAuthor

Hi !

I want to know whether it is possible to build an ActiveX control using Open Cascade. I want to use open cascade as a viewer in my VB program where I can interactively draw points, lines etc in the ActiveX window.
Please help me in doing this.

Discussion

1 archived reply

Posts are displayed in their archived order.

01Commenter-1

Yes it is possible !

If you look at the Qt support for Fltk support, or even the classes that hook up OpenCascade to a window in MFC for example, the same thing can be done with VB, you just need access to the Windows handle, sorry I don't have an example, I almost never use VB.

If you want to implement your own ActiveX control it's the same idea, look at one of the MFC examples, at least in the past there has been a package with OCC examples for MFC.

Commenter-1

Commenter-1