[Bug 10142] Window Management Bug
wine-bugs at winehq.org
wine-bugs at winehq.org
Thu Aug 21 15:35:14 CDT 2008
http://bugs.winehq.org/show_bug.cgi?id=10142
MarkWat <mark_watkins at yahoo.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |mark_watkins at yahoo.com
--- Comment #19 from MarkWat <mark_watkins at 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.
--
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.
More information about the wine-bugs
mailing list