|
From: Jarmo M. <ja...@mu...> - 2001-11-15 21:04:16
|
Nobody have replied to this, so I post my first e-mail to this mailing list. Process can exists on multiple desktops. Just open desktop, create thread, attach thread to desktop and here you go, the process is on two desktops. Then in another thread create windows and enter into message loop. I've done this in my application. As many desktops user creates, as many threads there are running. JMu ----- Original Message ----- From: "Frank D. Engel, Jr." <fd...@ya...> To: <ros...@re...> Sent: Tuesday, November 13, 2001 3:15 PM Subject: [ros-kernel] Re: Determining the current window > If the app can only exist in one desktop (is this correct?) use the > App's desktop. > > If it can span desktops, use the one with the mouse pointer, or the one > with the most recent interaction, ... > > Just invent something that makes sense. > > Alternately, you could pick whatever desktop was most recently affected > by the process. > > --- Jason Filby <jas...@ya...> wrote: > > Ok.. well then how does a CreateCompatibleDC(NULL) know what the > > current application's DC is? It somehow has to figure out which is > > the active window of the active desktop... if there are multiple > > active windows in multiple active desktops... well, how? > > > > - Jason > > > > --- Phillip Susi <ps...@cf...> wrote: > > > I don't see why you can't have multiple interactive desktops if you > > > have > > > multiple monitors and keyboards/mice, but even non interactive > > > desktops > > > still need to maintain the active window so that when you switch to > > > that > > > desktop, it remembers what the active window was. > > > > > > At 11:12 PM 11/12/2001 +0100, you wrote: > > > >On Monday 12 November 2001 21:05, Jason Filby wrote: > > > > > Is there just one foreground window in the entire system (a > > > global > > > > > variable)? Or does each desktop (or perhaps each workstation) > > > have a > > > > > foreground window? > > > > > > > >There is one input desktop per interactive window station. And > > > there is > > > >only one interactive windowstation (maybe more if terminal > > > services is > > > >installed). I do not think it makes sense to have a foreground > > > window on > > > >non-interactive desktops. > > > > > > > > Casper > > > > > > ==================================================== > > > = To remove yourself from this mailing list, go to = > > > = http://www.reactos.com/home/mailing.html = > > > ==================================================== > > > > > > > > > __________________________________________________ > > Do You Yahoo!? > > Find the one for you at Yahoo! Personals > > http://personals.yahoo.com > > > > ==================================================== > > = To remove yourself from this mailing list, go to = > > = http://www.reactos.com/home/mailing.html = > > ==================================================== > > > > > ===== > ======= > Frank D. Engel, Jr. > Please note my new address: fd...@ya... > > __________________________________________________ > Do You Yahoo!? > Find the one for you at Yahoo! Personals > http://personals.yahoo.com > > ==================================================== > = To remove yourself from this mailing list, go to = > = http://www.reactos.com/home/mailing.html = > ==================================================== > > ==================================================== = To remove yourself from this mailing list, go to = = http://www.reactos.com/home/mailing.html = ==================================================== |