On Fri, 2005-01-28 at 13:52, Ferenc Wagner wrote: > Paul Vriens <[EMAIL PROTECTED]> writes: > Hmm, services use an invisible desktop by default AFAIK. > It shouldn't matter how you started winrash (the service), > but how you started winetest itself. If it's started by > winrash, it runs on an invisible desktop; if you start it, > it runs on a visible desktop. How does an invisible desktop explain the fact that when I'm logged in, I see a Windows Explorer Window being opened by one of the tests (through winrash). > > It's either buggy or misnamed, reality suggests. It was > invented to account for metafile test failures, which > require a visible desktop, see eg. > > http://test.winehq.org/data/200501271000/nt4_IvanLeo/gdi32:metafile.txt > > Now it looks it depends on something else instead, and you > are in a pretty good position to find out what! I haven't > got a clue, including this flag was suggested by others. > I will try and figure out. > > What's the criteria for 'running on a visible desktop'? > > programs/winetest/main.c (as offered by Dmitry Timoshkov): > > static int running_on_visible_desktop () > { > return (GetWindowLongA (GetDesktopWindow (), GWL_STYLE) & WS_VISIBLE != > 0); > } Yeah, I should have looked better!
Paul.
