i had add something in my vimrc:
" s:dark_room {{{3

function! s:dark_room()
    if !exists('g:go_save')
        let g:go_save = &go
        " call libcallnr("vimtweak.dll", "SetAlpha", 210)
        set go& go-=m go-=T go-=r stal&
        call libcallnr("vimtweak.dll", "EnableMaximize", 1)
        call libcallnr("vimtweak.dll", "EnableCaption", 0)
        call libcallnr("vimtweak.dll", "EnableTopMost", 1)
    else
        let &go = g:go_save
        unlet g:go_save
        " call libcallnr("vimtweak.dll", "SetAlpha", 255)
        call libcallnr("vimtweak.dll", "EnableMaximize", 0)
        call libcallnr("vimtweak.dll", "EnableCaption", 1)
        call libcallnr("vimtweak.dll", "EnableTopMost", 0)
    endif
endfunction

" }}}3

command! Darkroom call s:dark_room()

and it works well :)

On 2月3日, 下午6时05分, Marc Weber <marco-owe...@gmx.de> wrote:
> Hi Mubed
>
> if it happens to you using vista one day install niftywindows. It can change
> transparency and has a lot more useful features.
>
> On XP it only supports making one color transparent which is probably
> not what you want..
>
> Sincerly
> Marc Weber
--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Reply via email to