SWT如何獲得本地文件系統(tǒng)的圖標(biāo)等表示信息
在swing中FileSystemView.getFileSystemView().getSystemDisplayName(file);
FileSystemView.getFileSystemView().getSystemIcon(file);
可以采用上面的方法得到。
那SWT中如何做到呢?
posted on 2006-10-30 16:20 hhh 閱讀(1120) 評(píng)論(2) 編輯 收藏
posted on 2006-10-30 16:20 hhh 閱讀(1120) 評(píng)論(2) 編輯 收藏
多謝了,本人正找你提供的兩個(gè)SWING函數(shù).SWT沒打算用. 回復(fù) 更多評(píng)論
可惜,在win7 下,這段代碼報(bào)錯(cuò)! 回復(fù) 更多評(píng)論
只有注冊(cè)用戶登錄后才能發(fā)表評(píng)論。 | ||
![]() |
||
網(wǎng)站導(dǎo)航:
博客園
IT新聞
Chat2DB
C++博客
博問
管理
|
||