Print Page | Close Window

Display Problem adding forms with hwnd

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=2596
Printed Date: 12 December 2024 at 1:30am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Display Problem adding forms with hwnd
Posted By: bruce8250
Subject: Display Problem adding forms with hwnd
Date Posted: 19 July 2005 at 6:22am

Hi,

VB6: I'm using the DockingPane to create an Outlook type app. Depending on the Shortcut selected I insert a new form into a Pane.

frmMainFrame.DockingPaneManager(PANE_1).Handle = frmMainIssues.hWnd

or

frmMainFrame.DockingPaneManager(PANE_1).Handle = frmMainTasks.hWnd

Problem is that the app flicks to previosly added forms before the new form is displayed. How can I stop the flick??? Delete all loaded forms in Pane - but I can't find the methods to do this.

Many thanks




Replies:
Posted By: Oleg
Date Posted: 19 July 2005 at 8:06am

Hide thiw window using API:

Private Declare Function ShowWindow Lib "user32" Alias "ShowWindow" _

(ByVal hwnd As Long, ByVal nCmdShow As Long) As Long

 

ShowWindow frmMainIssues.hWnd, 0 ' Hide Window

 



-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS



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