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

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

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

    Feeling

        三人行,必有我?guī)熝?/p>

       ::  :: 新隨筆 :: 聯(lián)系 ::  :: 管理 ::
      185 隨筆 :: 0 文章 :: 392 評論 :: 0 Trackbacks


    The idea is from DotnetMagic, I copied its style, but different implement methods. DotnetMagic uses shell self message circulation, but I use swt event listener. I want to implement the custom style menu for all platforms initially, but it's impossible. It has to use a lot of advanced OS funcitions. If I use pure swt public functions, I can't implement  some features. For example, if I click the menu, the window shell will be deactivated, I click window shell's titlebar, swt event manager doesn't send messages to me. I must use WND Message hook to deal these messages. So I have to add the feature into SWT Win32 Extension, but not a independent project.

    Some beautiful snapshots:


    Office 2003 Style Menu


    VS 2005 Style Menu


    Project Download: http://www.swtui.cn/downloads/org.eclipse.swt.win32.extension.zip
    JNLP Online Demo: http://www.swtui.cn/jws/example.jnlp

    If you don't have installed Java Runtime, you can access it via http://www.swtui.cn/downloads/org.eclipse.swt.win32.extension.example.independence_native.zip

    Eclipse Plugin Update Site URL: http://www.swtui.cn/update

     


    評論

    # re: Add custom style menu into SWT Win32 Extension. 2008-04-02 11:58 BeanSoft
    It's time for IBM or Eclipse to develop a Skin system,like Swing's Look and Feel, or the Menu and Toolbar is still hard to customize, in fact you are doing c++ code, not java.... well, thanks ur hard work... to share with us...  回復(fù)  更多評論
      

    # re: Add custom style menu into SWT Win32 Extension. 2008-04-02 12:10 三人行,必有我?guī)熝?/a>
    Hmmm. I don't write any C++ code, just use swt win32 version to implement it, but it doesn't work in other platforms, until I implement a linux version, and this way is the socalled Eclipse spirit.

    In fact, IBM has its self look and feel, but it's commercial, I don't think that IBM will donate it to eclipse foundation.  
    回復(fù)  更多評論
      

    # re: Add custom style menu into SWT Win32 Extension. 2008-04-02 15:04 Always BaNg.
    lookandfeel跟WND的class有關(guān),codeProject上有一堆win32 lookand feel,將其注冊到swt也不是什么難事, swt下有一個類WNDCLASS。
    topmost?好像跟create window設(shè)個flag什么的。

    唉,還是windows API強大,什么效果都能容易。什么GTK,QT真TMD煩人。

    :) 為什么要在一個中文blog上寫英文呢?看的很費勁哩!
      回復(fù)  更多評論
      

    # re: Add custom style menu into SWT Win32 Extension. 2008-04-02 16:07 三人行,必有我?guī)熝?/a>
    本來準(zhǔn)備弄個SWT Linux Extension的,結(jié)果實際操作以后發(fā)現(xiàn)很多高級功能都要GTK 2.10以后的版本,我裝的Ubuntu6.10才是GTK2.08,暈死。

    之所以在中文blog上用英文,一是為了練習(xí)英文,二是我懶得再寫英文文檔了,老外用搜索引擎直接搜這兒好了。blogjava的rank還是很高的,我才寫了1個小時,google就收錄了,可比我放在自己網(wǎng)站上宣傳好得多。  
    回復(fù)  更多評論
      

    # re: Add custom style menu into SWT Win32 Extension. 2008-04-02 17:40 BeanSoft
    是呀 BlogJava 上內(nèi)容 Google 收錄的很快!多虧多位像樓主這樣的原創(chuàng)作者,呵呵!  回復(fù)  更多評論
      


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


    網(wǎng)站導(dǎo)航:
     
    GitHub |  開源中國社區(qū) |  maven倉庫 |  文件格式轉(zhuǎn)換 
    主站蜘蛛池模板: 日韩免费无码一区二区三区| 成人av片无码免费天天看| 免费看成人AA片无码视频羞羞网| 亚洲爆乳无码专区| 青青草原1769久久免费播放| 亚洲精品二区国产综合野狼| 色播在线永久免费视频网站| 亚洲精品乱码久久久久久蜜桃不卡| 青青操免费在线视频| 国产亚洲一区二区在线观看| 免费网站观看WWW在线观看| 亚洲AV成人精品网站在线播放| 在线观看免费中文视频| 亚洲不卡中文字幕| 日韩免费高清视频网站| 日本一区二区三区免费高清在线| 亚洲精品无码AV中文字幕电影网站| 免费中文字幕视频| 国精无码欧精品亚洲一区| 91精品国产免费| 亚洲人片在线观看天堂无码| 国产真人无遮挡作爱免费视频 | 亚洲日韩中文字幕天堂不卡 | 午夜高清免费在线观看| 亚洲成在人线aⅴ免费毛片| 亚洲国产成人久久一区WWW| 怡红院免费的全部视频| 亚洲国产高清视频在线观看| 在线播放高清国语自产拍免费| 午夜在线亚洲男人午在线| 久久亚洲国产成人影院网站| 久久久免费精品re6| 亚洲乱亚洲乱妇无码| 自拍偷自拍亚洲精品被多人伦好爽| 51视频精品全部免费最新| 羞羞漫画页面免费入口欢迎你 | 久久影视国产亚洲| 2021在线永久免费视频| 美女视频黄a视频全免费网站一区| 亚洲色偷偷综合亚洲AVYP| 欧美日韩国产免费一区二区三区|