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?
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Tony JohncockLead Technical ArchitectCommented:
Think you may need to set a flag.


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
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

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]

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

[From xxx][#157950]

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
cowiekspertAuthor Commented:

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:)

It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.