Topic: Combo中如何添加图像? |
Print this page |
1.Combo中如何添加图像? | Copy to clipboard |
Posted by: elliott Posted on: 2005-01-12 00:34 想做一个像QQ选取头像的功能,但在API中没找到.setImage();方法,请问另外有什么办法添加图像? SWT中何果取屏幕大小? |
2.Re:Combo中如何添加图像? [Re: elliott] | Copy to clipboard |
Posted by: wdh113 Posted on: 2005-01-12 11:46 取屏幕大小 import org.eclipse.swt.graphics.Rectangle; Display display = new Display(); Rectangle area = display.getBounds ();或display.getClientArea(); 宽area.width,长area.height |
3.Re:Combo中如何添加图像? [Re: elliott] | Copy to clipboard |
Posted by: film2000 Posted on: 2005-01-13 14:22 看CCombo的源码,用Table替代List |
Powered by Jute Powerful Forum® Version Jute 1.5.6 Ent Copyright © 2002-2021 Cjsdn Team. All Righits Reserved. 闽ICP备05005120号-1 客服电话 18559299278 客服信箱 714923@qq.com 客服QQ 714923 |