Print Page | Close Window

OpenFileDialog interfers with DockingPanes

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Docking Pane
Forum Description: Topics Related to Codejock Docking Pane
URL: http://forum.codejock.com/forum_posts.asp?TID=4760
Printed Date: 02 July 2024 at 10:52pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: OpenFileDialog interfers with DockingPanes
Posted By: soellnas
Subject: OpenFileDialog interfers with DockingPanes
Date Posted: 08 August 2006 at 2:01pm
Hi all,
 
as long as I use my app without a FileOpen dialog everything works fine. But when I use it, i get problems with the panes in my window.
 
Do you knwo anything about that?
 
-Andreas



Replies:
Posted By: SuperMario
Date Posted: 08 August 2006 at 2:12pm
VS 2005?

With VS 2005 the OpenDialog and SaveDialog totally destroy our controls. The only work around for this is to specify an owner when you call show the dialog. You can NOT leave the parameter blank. It does not matter what you specify as the owner, you just need to do so to keep the dialogs from destroying our controls. So here is some example code, remember the owner can be anything you want:

OpenFileDialog1.ShowDialog(CommandBars)
SaveFileDialog1.ShowDialog(CommandBars)



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net