<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...  回復  更多評論
      

    # 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.  
    回復  更多評論
      

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

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

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

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

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

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


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


    網(wǎng)站導航:
     
    GitHub |  開源中國社區(qū) |  maven倉庫 |  文件格式轉換 
    主站蜘蛛池模板: 亚洲成A人片在线观看无码3D| 亚洲精品无码久久久久牙蜜区| 免费国产在线观看不卡| 最近免费中文字幕大全免费版视频| 看一级毛片免费观看视频| 亚洲一级黄色大片| 无码久久精品国产亚洲Av影片| 亚洲日本韩国在线| 国产精品免费电影| 午夜高清免费在线观看| 中国xxxxx高清免费看视频| 久久国产乱子伦精品免费午夜| 国产精品久久亚洲一区二区| 日本亚洲精品色婷婷在线影院 | 亚洲人成电影网站| 亚洲视屏在线观看| 亚洲日本va午夜中文字幕一区| 亚洲色偷偷偷鲁综合| 亚洲伊人成无码综合网| 免费又黄又硬又爽大片| 啊灬啊灬别停啊灬用力啊免费看| 暖暖免费高清日本一区二区三区| 无码人妻久久一区二区三区免费丨| 13一14周岁毛片免费| 精品一区二区三区无码免费视频| 久久久精品午夜免费不卡| 永久免费av无码网站yy| a国产成人免费视频| 免费看搞黄视频网站| 精品一卡2卡三卡4卡免费视频| 两性色午夜视频免费网| 成全视成人免费观看在线看| 国产美女视频免费观看的网站| 国产日韩久久免费影院| 免费在线黄色电影| 一级毛片在线免费观看| 59pao成国产成视频永久免费 | 亚洲成AV人片在线观看无| 久久精品国产亚洲一区二区| 久久精品国产亚洲麻豆| 久久久久亚洲av无码专区 |