RE: Child windows spawn coordinates - Changeable ? by taoyue
taoyue
Wed May 10 15:59:01 CDT 2006
------=_NextPart_0001_9130D291
Content-Type: text/plain
Content-Transfer-Encoding: 7bit
<James Spooner@discussions.microsoft.com> wrote:
> HI, I would dearly love to change the spawning screen coordinates for all
> child windows.
>
> The problem I am trying to fix are that some users have dual screens
(Window
> extended over 2 screens). If The CRM 3.0 web interface is up in display
2,
> the child windows spawn in the middle of display 1.
>
> I would like to change this behavour so that child windos spawn a fixed
> coordinate relative to the parent window - say +150,+150 from the top
right
> corner of the parent.
Dialogs opening split between two screens is a common problem with
applications other than Internet Explorer, too. Some of the multimon
utilities can workaround this by sending window move messages whenever they
detect a new window that opens split between two screens.
Without such a utility running on the client, if you're proficient at
Javascript you can edit the global.js file where window coordinates are
calculated. But this is **strictly unsupported**, since global.js may
change in future versions. Also, you'd have to make sure window
coordinates take into account users who have one screen, users where screen
sizes are not identical, etc.
--
Tao Yue
Microsoft Dynamics CRM Development
This posting is provided "AS IS" with no warranties, and confers no rights.
------=_NextPart_0001_9130D291
Content-Type: text/x-rtf
Content-Transfer-Encoding: 7bit
{\rtf1\ansi\ansicpg1252\deff0\deflang1033{\fonttbl{\f0\fmodern\fprq1\fcharset0 Lucida Console;}}
\viewkind4\uc1\pard\f0\fs20 <James Spooner@discussions.microsoft.com> wrote:
\par > HI, I would dearly love to change the spawning screen coordinates for all
\par > child windows.
\par >
\par > The problem I am trying to fix are that some users have dual screens (Window
\par > extended over 2 screens). If The CRM 3.0 web interface is up in display 2,
\par > the child windows spawn in the middle of display 1.
\par >
\par > I would like to change this behavour so that child windos spawn a fixed
\par > coordinate relative to the parent window - say +150,+150 from the top right
\par > corner of the parent.
\par
\par
\par Dialogs opening split between two screens is a common problem with applications other than Internet Explorer, too. Some of the multimon utilities can workaround this by sending window move messages whenever they detect a new window that opens split between two screens.
\par
\par Without such a utility running on the client, if you're proficient at Javascript you can edit the global.js file where window coordinates are calculated. But this is **strictly unsupported**, since global.js may change in future versions. Also, you'd have to make sure window coordinates take into account users who have one screen, users where screen sizes are not identical, etc.
\par
\par
\par --
\par Tao Yue
\par Microsoft Dynamics CRM Development
\par This posting is provided "AS IS" with no warranties, and confers no rights.
\par }
------=_NextPart_0001_9130D291--