lizhensan 发表于 2013-1-15 01:51:06

swt ole opengl

swt
的这两包的api 也很有意思,用空研究一下。
http://www.ibm.com/developerworks/cn/linux/opensource/os-activex/
 

OleFrame frame = new OleFrame(parent, SWT.NONE);  
OleClientSite client = new OleClientSite(frame,SWT.NONE,"Shell.Explorer.2");  
client.doVerb(OLE.OLEIVERB_SHOW);  
OleAutomation oa = new OleAutomation(client);  
Variant str = new Variant("http://www.blogjava.net/");  
oa.invoke(104, new Variant[]{str});  
 
 
页: [1]
查看完整版本: swt ole opengl