Print Page | Close Window

MDI Child creation without displaying it

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Command Bars
Forum Description: Topics Related to Codejock Command Bars
URL: http://forum.codejock.com/forum_posts.asp?TID=17584
Printed Date: 27 November 2024 at 6:52am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: MDI Child creation without displaying it
Posted By: tobi
Subject: MDI Child creation without displaying it
Date Posted: 22 November 2010 at 10:55am
Does anyone know a solution in VB6 how to create a Tabbed MDI child window without displaying it until a special function is called ?

I have child window which contains a network connection component (ActiveX) and I only want to display the tabbed child window when the component was able to establish a connection !
Otherwise I want to display a messagebox and kill the child window ...





Replies:
Posted By: chrisABC
Date Posted: 25 November 2010 at 6:30am
Is the problem only that it is an MDI child window?
ie. if it is just a normal form can you create it (without showing it) and then show it when you need it or unload if you do not need it? I do similar thing but instead of using standard MDI child forms, I use the CJ Docking manager and put the form into a floating window.


-------------
Chris (Manchester, UK) -- www.abc6.co.uk ---- Using CodeJock ActiveX Suite 13.1.0 with Windows8, VB6 SP6



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