<rt id="bn8ez"></rt>
<label id="bn8ez"></label>

  • <span id="bn8ez"></span>

    <label id="bn8ez"><meter id="bn8ez"></meter></label>

    Feeling

        三人行,必有我師焉

       ::  :: 新隨筆 :: 聯系 ::  :: 管理 ::
      185 隨筆 :: 0 文章 :: 392 評論 :: 0 Trackbacks

    擴展SWT功能,實現了Windows下注冊表,磁盤,CPU,內存,目錄訪問,網絡,關機,系統特性等常用API功能?,F在可以通過CVS進行訪問該項目,直接下載:http://www.tkk7.com/Files/cnfree/swt-extension.zip

    SWT Extension under Windows OS can be checked out through CVS now!?

    User can access it from:
    ?
    cvs -z3 -d:pserver anonymous@feeling.cvs.sourceforge.net:/cvsroot/feeling co -P org.eclipse.swt.extension ?
    ?
    Add native method:?

    public ? static ? final ? native ? boolean ?ShowCursor( boolean ?bShow);
    public ? static ? final ? native ? void
    ?GetDiskFreeSpace(String?drive,?DISKFREESPACE?diskFreeSpace);
    public ? static ? final ? native ? void
    ?GetSystemInfo(SYSTEM_INFO?systemInfo);
    public ? static ? final ? native ? void
    ?GlobalMemoryStatus(MEMORYSTATUS?memoryStatus);
    public ? static ? final ? native ? int
    ?GetDriveType(String?drive);
    public ? static ? final ? native
    ?String[]?GetLogicalDrives();
    public ? static ? final ? native
    ?String?GetVolumeLabel(String?drive);
    public ? static ? final ? native ? boolean
    ?SetVolumeLabel(String?drive,?String?label);
    public ? static ? final ? native
    ?String?GetCurrentDirectory();
    public ? static ? final ? native ? boolean
    ?SetCurrentDirectory(String?directory);
    public ? static ? final ? native ? boolean
    ?RegistryKeyIteratorHasNext(KeyIterator?iterator);
    public ? static ? final ? native ? void
    ?DeleteRegistryKey(RegistryKey?key);
    public ? static ? final ? native ? boolean
    ?RegistryKeyHasSubKeys(RegistryKey?key);
    public ? static ? final ? native ? boolean
    ?RegistryKeyHasValue(RegistryKey?key,?String?name);
    public ? static ? final ? native
    ?String?RegistryKeyValueIteratorGetNext(ValueIterator?iterator);
    public ? static ? final ? native ? boolean
    ?RegistryKeyHasValues(RegistryKey?key);
    public ? static ? final ? native
    ?RegistryValue?RegistryKeyGetValue(RegistryKey?key,?String?name);
    public ? static ? final ? native ? void
    ?RegistryKeySetValue(RegistryKey?key,?RegistryValue?value);
    public ? static ? final ? native ? void
    ?RegistryKeyDeleteValue(RegistryKey?key,?String?name);
    public ? static ? final ? native
    ?String?RegistryKeyIteratorGetNext(KeyIterator?iterator);
    public ? static ? final ? native ? boolean
    ?ExistsRegistryKey(RegistryKey?key);
    public ? static ? final ? native ? void
    ?CreateRegistryKey(RegistryKey?key);
    public ? static ? final ? native ? boolean
    ?RegistryKeyValueIteratorHasNext(ValueIterator?iterator);
    public ? static ? final ? native ? int
    ?CreateShortCut(String?sourceFile,?String?linkFile,String?linkDescriptor);
    public ? static ? final ? native ? int
    ?SHFileOperationA(SHFILEOPSTRUCT?shFileOpStruct);
    public ? static ? final ? native ? int
    ?SHFileOperationW(SHFILEOPSTRUCT?shFileOpStruct);
    public ? static ? final ? native ? boolean ?FlashWindow( int ?hwnd,? boolean
    ?bInvert);
    public ? static ? final ? native ? boolean ?SetLayeredWindowAttributes( int ?hwnd,? int ?color,? byte ?alpha,? int
    ?type);
    public ? static ? final ? native
    ?String?GetSystemDirectory();
    public ? static ? final ? native
    ?String?GetWindowsDirectory();
    public ? static ? final ? native
    ?String?GetTempPath();
    public ? static ? final ? native
    ?String?GetLongPathName(String?shortPathName);
    public ? static ? final ? native ? boolean ?SetWallPaper( char []?picturePath, int
    ?style);
    public ? static ? final ? native ? int ?Ping(?String?host?,? int
    ?dateSize?);
    public ? static ? final ? native ? int
    []?GetMACID(?);
    public ? static ? final ? native ? int []?GetMACAddress(? int
    ?MACID);
    public ? static ? final ? native ? boolean ?Reboot( boolean
    ?force);
    public ? static ? final ? native ? boolean ?Shutdown( boolean
    ?force);
    public ? static ? final ? native ? boolean ?Logoff( boolean
    ?force);
    public ? static ? final ? native ? boolean
    ?LockWorkStation();
    public ? static ? final ? native ? boolean ?SuspendWorkstation( boolean ?suspend, boolean
    ?force);
    public ? static ? final ? native ? boolean ?InitiateShutdownA( byte []?info, int ?time,? boolean ?force?, boolean
    ?reboot);
    public ? static ? final ? native ? boolean ?InitiateShutdownW( char []?info, int ?time,? boolean ?force?, boolean
    ?reboot);

    snapshot:
    swt-extension.jpg
    posted on 2007-01-03 18:32 三人行,必有我師焉 閱讀(1223) 評論(3)  編輯  收藏

    評論

    # re: SWT Extension under Windows OS 項目可以通過CVS訪問了! 2007-01-29 11:17 alon xiong
    你好,我用了你的Extension.FlashWindow函數,在你的Example例子里面調用成功, 當最小化時任務欄會閃爍:
    shell.addShellListener(new ShellAdapter() {
    public void shellDeactivated(ShellEvent e){
    Extension.FlashWindow(shell.handle, true);
    }
    });

    然后我將你的class打包成jar,將lib里面的兩個dll放到jar的根目錄下,然后在我的RCP程序中這樣調用:
    Shell shell = PlatformUI.getWorkbench().getActiveWorkbenchWindow().getShell();
    Extension.FlashWindow(shell.handle, true);

    任務欄不會閃爍,但是我用以下語句取代Extension.FlashWindow(shell.handle, true);這句時,
    shell.open();
    shell.setMinimized(false);
    shell.forceActive();
    shell.forceFocus();
    可以打開窗口,證明shell是正確的
    請問這是為什么?是不是我那里設置不對,謝謝!
      回復  更多評論
      

    # re: SWT Extension under Windows OS 項目可以通過CVS訪問了! 2007-04-06 04:18 催月淚
    SWT Extension 這個項目是不是已經停止開發,我在sourceforge沒有找到,但找到了一個eclipse ui extension  回復  更多評論
      

    # re: SWT Extension under Windows OS 項目可以通過CVS訪問了! 2007-04-06 10:57 三人行,必有我師焉
    SWT Extension 是 eclipse ui extension 的子項目。不過由于工作的原因,最近確實沒有時間開發了。  回復  更多評論
      


    只有注冊用戶登錄后才能發表評論。


    網站導航:
     
    GitHub |  開源中國社區 |  maven倉庫 |  文件格式轉換 
    主站蜘蛛池模板: 美女免费视频一区二区三区| 亚洲日本VA中文字幕久久道具| 黄色一级视频免费| 免费jjzz在在线播放国产| 在线观看亚洲专区| 亚洲片一区二区三区| eeuss在线兵区免费观看| 国产av无码专区亚洲av果冻传媒 | 最近免费2019中文字幕大全| 亚洲第一成人影院| 永久免费精品影视网站| 亚洲国产小视频精品久久久三级| 美女视频黄频a免费| 不卡一卡二卡三亚洲| 一区二区三区无码视频免费福利| 亚洲s色大片在线观看| 18以下岁毛片在免费播放| 亚洲娇小性色xxxx| 亚洲A丁香五香天堂网| 国产在线观看xxxx免费| 亚洲天堂男人天堂| 2020久久精品国产免费| 亚洲高清乱码午夜电影网| 亚洲日韩国产精品乱| 久久久99精品免费观看| 亚洲日韩国产欧美一区二区三区 | 美女无遮挡拍拍拍免费视频| 亚洲国产精品乱码一区二区| 18禁美女裸体免费网站| 天堂亚洲国产中文在线| 亚洲国产精品专区在线观看| 中文字幕在线视频免费观看| 亚洲白色白色永久观看| 亚洲AV无码成H人在线观看| 久久精品视频免费播放| 亚洲国产精品99久久久久久| 国产91精品一区二区麻豆亚洲| 精品免费久久久久久久| 美女视频黄a视频全免费网站色| 久久久久久久亚洲Av无码| 免费日本黄色网址|