On Fri 29 Jul 2005, ???? dengfei wrote:
> i want to write a activex control with the graph function provided by vgui.
> but i find that the vgui_mfc_adaptor witch could only be used instead of cview.
> is there some way to use vgui in a activex control ?
I'm afraid I don't have any experience with ActiveX to usefully
comment. The current vgui_mfc_adaptor, as you noted, wraps the OpenGL
window in a MFC widget, which can then be embedded in any MFC
To get vgui to work with ActiveX, "all" you need is to get an ActiveX
control to wrap an OpenGL buffer. If you can do that, you can write a
toolkit wrapper (like vgui_mfc, vgui_gtk, etc) that will do the work
for you. Whether vgui_mfc will work for this purpose, I don't know.