Hi, This method works on XP, but not on Windows 7 64bit (even after I change syslistview32 to syslistview64)
--- In [email protected], Cü <cy_lists_2...@...> wrote: > > Hi, > > Try this: > @_PinToDesktop > Local _handle = ifelse(arg(1), win.handle(arg(1)), ;;+ > win.handle("under")) > //Local dll_status > Local _sddv = dll.call("FindWindowEx|i i s i", ;;+ > win.handle("c=Progman"), 0, "shelldll_defview", 0) > Local _slv = dll.call("FindWindowEx|i i s i", _sddv, 0, ;;+ > "syslistview32", 0) > Local dummy = dll.call("SetParent|i i", _handle, _slv) > Quit > > It pins either the given window handle, or in case it's not given, the > window under the mouse to the desktop. > > YMMV, > Cü > > > > p.renfrew wrote (on 26.09.2009 04:57): > > ... always want it on the bottom just like desktop icons. >
