OpenDCL Forums

OpenDCL => Studio/Dialog Editor => Topic started by: mkweaver on May 11, 2009, 05:06:37 AM

Title: studio apparently opening off screen
Post by: mkweaver on May 11, 2009, 05:06:37 AM
Using studio version 5.1.0.1 Alpha with Autocad 2010 Beta.

Open DCL is apparently opening off-screen.  When it starts up nothing shows up on screen.  I get the task-bar button but that's it.  If I right click on the task-bar button I can pick maximize and studio shows up.  However, if I pick restore from the system menu then studio disappears.

Do I just need to reinstall?

Mike Weaver
Title: Re: studio apparently opening off screen
Post by: owenwengerd on May 11, 2009, 06:11:27 AM
You'll need to move it to the correct location; a reinstall will not help.  Does it Maximize correctly?  If not, you may need to correct your monitor configuration.  In any case, use <Alt><Space>M to move it back to where you want it.
Title: Re: studio apparently opening off screen
Post by: mkweaver on May 11, 2009, 07:59:09 AM
Yes, it maximizes correctly, but restores completely off screen, so I will be guessing as to which direction to make the move.

I went to the registry (HKEY_CURRENT_USER\Software\OpenDCL\OpenDCL Studio\Studio) and changed TopLeftX and TopLeftY (They were over 40000 - completely out of the range of my display resolution) but it didn't help.

I'll try <alt><space>M when I get a few minutes.
Title: Re: studio apparently opening off screen
Post by: owenwengerd on May 11, 2009, 07:21:07 PM
Here's a timely blog post on the subject:
http://blogs.msdn.com/oldnewthing/archive/2009/05/11/9601136.aspx (http://blogs.msdn.com/oldnewthing/archive/2009/05/11/9601136.aspx)
Title: Re: studio apparently opening off screen
Post by: mkweaver on May 11, 2009, 08:31:43 PM
Problem solved!

Thanks Owen.
Title: Re: studio apparently opening off screen
Post by: Fred Tomke on May 11, 2009, 11:13:32 PM
I want to share my experience, too. It does not depend on OpenDCL only, but also on other applications like WinZip and so on.


I don't know if it is possible to get into a code between the user has doble clicked the icon and the application window will be shown to change the window coordinates?

Fred
Title: Re: studio apparently opening off screen
Post by: owenwengerd on May 12, 2009, 11:22:34 AM
Thanks Fred, I've now added code to open in "restored" state when this situation is detected.
Title: Re: studio apparently opening off screen
Post by: mkweaver on May 14, 2009, 05:51:54 PM
Fred, I think you described the path I went down to arrive at my problem.

Thanks for the description.

Mike