Jump to content

using /span, changing default window position


Recommended Posts

Posted

I have a customer using dual-monitors on a single terminal server session

(using the 6.0 client and the /span command). All works well. except for the

fact that this effectively makes all warning windows (errors, information,

questions) show up in the middle of the combined size of both screens (half

on the right of the left screen, and half on the left of the right screen). I

imagine this is because the terminal server sees the client as using one big

monitor, not two monitors. My question is: Is there is a way, either through

registry or utilities, to make all windows show up on one screen, but still

be draggable to the other screen, as it would normally on a dual monitor

setup?

 

I've searched all over the place and all I can find is how to make windows

remember positions of programs through some reg modifications or programs,

and even then it's not 100%.

 

Any ideas?

--

jc

  • Replies 2
  • Created
  • Last Reply
Guest Leythos
Posted

Re: using /span, changing default window position

 

In article <AB8C058C-8A45-4768-8EBE-967563E843E3@microsoft.com>,

DNi@discussions.microsoft.com says...

> I've searched all over the place and all I can find is how to make windows

> remember positions of programs through some reg modifications or programs,

> and even then it's not 100%.

 

We've just resolved ourselves to this being the case.

 

--

 

Leythos

- Igitur qui desiderat pacem, praeparet bellum.

- Calling an illegal alien an "undocumented worker" is like calling a

drug dealer an "unlicensed pharmacist"

spam999free@rrohio.com (remove 999 for proper email address)

Posted

Re: using /span, changing default window position

 

Hi,

 

Perhaps you could write a small program that installs a global

hook procedure and sets the position of message boxes. There

are examples of this available if you search using google. Here

is one example that shows the technique for a single application:

 

How To Position a MsgBox Using a Windows Hook Procedure

 

http://support.microsoft.com/kb/180936

 

See this document for information on creating the hook as

global instead of for the current thread as in the above sample

(dwThreadId):

 

SetWindowsHookEx Function

 

http://msdn2.microsoft.com/en-us/library/ms644990.aspx

 

The above would take care of standard error popups, questions,

etc. that use the messagebox function. If you wanted you could

extend it to include other windows as well.

 

-TP

 

DNi wrote:

> I have a customer using dual-monitors on a single terminal server

> session (using the 6.0 client and the /span command). All works well.

> except for the fact that this effectively makes all warning windows

> (errors, information, questions) show up in the middle of the

> combined size of both screens (half on the right of the left screen,

> and half on the left of the right screen). I imagine this is because

> the terminal server sees the client as using one big monitor, not two

> monitors. My question is: Is there is a way, either through registry

> or utilities, to make all windows show up on one screen, but still be

> draggable to the other screen, as it would normally on a dual monitor

> setup?

>

> I've searched all over the place and all I can find is how to make

> windows remember positions of programs through some reg modifications

> or programs, and even then it's not 100%.

>

> Any ideas?


×
×
  • Create New...