http://bugs.winehq.org/show_bug.cgi?id=10142
MarkWat mark_watkins@yahoo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |mark_watkins@yahoo.com
--- Comment #19 from MarkWat mark_watkins@yahoo.com 2008-08-21 15:35:13 --- (In reply to comment #18)
Playing around with CMDOW, I was able to make windows disappear (from non-active desktops) using /NOT (making them not topmost), or /SIZ [W] [H].
I don't have the source for CMDOW, but both of those functions must be using SetWindowPos(). I couldn't get windows to disappear by simple activating/deactivating, however. The '/NOT' is interesting since it shouldn't have any effect, according to MS docs, for non-topmost windows.
Made a quickie script to locate lost Notes using CMDOW: #!/bin/sh ######################################################################### # Locate Notes - Find the window if not visibile. # ######################################################################### #find Notes Window id and Register /usr/bin/wine ~/.wine/drive_c/CMDOW/cmdow.exe /F /B /T > /tmp/Notes.tmp cat /tmp/Notes.tmp | grep Notes > /tmp/Notes.win windowID=`awk -F" " '{print $1}' /tmp/Notes.win ` #echo $windowID
#restore `/usr/bin/wine /home/mwatkins/.wine/drive_c/CMDOW/cmdow.exe $windowID /MOV 0 0`
Set an shortcut to it, and can use it to restore the lost window.