Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Docking Pane
  New Posts New Posts RSS Feed - OpenFileDialog interfers with DockingPanes
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

OpenFileDialog interfers with DockingPanes

 Post Reply Post Reply
Author
Message
soellnas View Drop Down
Newbie
Newbie
Avatar

Joined: 06 July 2006
Location: Germany
Status: Offline
Points: 3
Post Options Post Options   Thanks (0) Thanks(0)   Quote soellnas Quote  Post ReplyReply Direct Link To This Post Topic: OpenFileDialog interfers with DockingPanes
    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
Back to Top
SuperMario View Drop Down
Admin Group
Admin Group
Avatar

Joined: 14 February 2004
Status: Offline
Points: 18057
Post Options Post Options   Thanks (0) Thanks(0)   Quote SuperMario Quote  Post ReplyReply Direct Link To This Post 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)
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.141 seconds.