• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 2531
  • Last Modified:

Applications span on both monitor when maximize them in Citrix

In Windows, applications usually only span one monitor when you maximize them. For some reason, the applications, MS Word running in Seamless mode span on both monitors in Citrix XenApp5.0

Any idea on how to prevent this?
0
cowiekspert
Asked:
cowiekspert
1 Solution
 
Tony JLead Technical ArchitectCommented:
Think you may need to set a flag.

From http://support.citrix.com/article/CTX118113

This is the server-side component of a fix that addresses an issue in multiple monitor environments where child dialog boxes are not positioned properly, appearing across monitors instead. It also introduces an enhancement that allows you to launch applications on dedicated monitors.

To enable the fix, you must:

Deploy the corresponding client-side Fix #157950

Set the following registry key on all servers to which you want to extend this functionality:

HKEY_LOCAL_MACHINE\SOFTWARE\Citrix\CtxHook\AppInit_Dlls\Multiple Monitor Hook
Name: DefaultHooks
Type: REG_DWORD
Flag 0x1: Maximize window to correct monitor
Flag 0x400: Center child dialog boxes
Flag 0x800: Launch applications on a specified monitor
Flag 0x0: Disables this functionality

To specify a monitor for application launching:

Set the flag above to 0x800 and then set the following registry key:

HKEY_LOCAL_MACHINE\SOFTWARE\Citrix\CtxHook\AppInit_Dlls\Multiple Monitor Hook
Name: DefaultLaunchMonitor
Type: REG_DWORD
Data:

0: launch application on primary monitor
1: launch application on secondary monitor
...and so on.

To set hooks for specific applications:

Add a (REG_DWORD) with the application executable name as the name. For example, to set specific hooks for Notepad, add the following registry value:

HKEY_LOCAL_MACHINE\SOFTWARE\Citrix\CtxHook\AppInit_Dlls\Multiple Monitor Hook
Name: [Notepad.exe]
Type: REG_DWORD
Data:

0: launch application on primary monitor
1: launch application on secondary monitor
...and so on.

[From xxx][#157950]

0
 
cowiekspertAuthor Commented:
Hello,

The application launch correctly on the primary monitor, minimized. But the problem occour when I maximize it, then it spans both monitors.

Any help will be appreciated:)

1

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now