Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » SWT_AWT.new_Shell Activex
SWT_AWT.new_Shell Activex [message #457730] Mon, 04 July 2005 10:16
Oscar is currently offline OscarFriend
Messages: 13
Registered: July 2009
Junior Member
I am using next code in order to add an Activex component into a panel.

shell= SWT_AWT.new_Shell(display,canvas);
shell.setLayout(new FillLayout());

OleFrame oleFrame = new OleFrame(shell, SWT.NONE);
OleControlSite oleControlSite = new OleControlSite(oleFrame, SWT.NONE,
classID);
oleControlSite.doVerb(OLE.OLEIVERB_SHOW);


That works fine however.... If I try to add 2 intances of same ActiveX I
can see the two components but seems that there are only 1 instance (when
I select or click into one component the other component seem to recive
same events...)
Any idea?
Previous Topic:Stacklayout confusion
Next Topic:Unhandled exceptions
Goto Forum:
  


Current Time: Fri Apr 26 03:37:32 GMT 2024

Powered by FUDForum. Page generated in 0.02809 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top