On 21-Oct-2010 15:15, Chris Sutcliffe wrote: > On 21 October 2010 09:07, Christian Brabandt wrote: >> On Thu, October 21, 2010 2:36 pm, Chris Sutcliffe wrote: >>> To that end, this minor patch populates v:windowid with the gvim HWND >>> under windows: >> [...] >> >> What can that be used for? > > A quick way to retrieve the gvim window handle for utilities that use > the window handle (i.e. for scripting with AutoHotKeys, etc.). Since > it's defined (v:windowid) even under Windows, might as well make it > return something useful.
Great, I had the same idea to make v:windowid apply to more platforms than only X, and agree that its potential usefulness might warrant the small Win32 implementation. Regarding the naming, how about v:guiwindowid, to differentiate with Vim's own windows. After all, this variable is only for GVIM, not terminal-based Vim. -- regards, ingo -- You received this message from the "vim_dev" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php
