Print Page | Close Window

? on using docking_attachpane

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=4247
Printed Date: 01 October 2024 at 9:53am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: ? on using docking_attachpane
Posted By: LittleJK
Subject: ? on using docking_attachpane
Date Posted: 19 May 2006 at 10:08am

What is the real difference using the DockingPaneManager_AttachPane event verses just attaching the form/picture box handle to the docking pane in the form_load event? We are wondering because we have successfully attached forms and picture boxes to the panes by declaring them in the form_load event. We are finding that it has also decreased the flickering of the panes being positioned and loaded when loading the form. We are using the greatest and latest version 10.1.

Thanks  




Replies:
Posted By: LittleJK
Date Posted: 19 May 2006 at 10:48am

In the form_load we declare it by:

With PaneOptions

If fSegcal Is Nothing Then Set fSegcal = New frm_segcal

.Handle = fSegcal.hWnd
.MaxTrackSize.Width = 241
.Options = PaneHasMenuButton Or PaneNoCloseable Or PaneNoDockable Or PaneNoFloatable
.Title = "Availability By Rate Plan Options..."
End With

Verses

Select Case Item.id
Case ID_PANE_OPTIONS
If fSegcal Is Nothing Then Set fSegcal = New frm_segcal
Item.Handle = fSegcal.hWnd

 

 




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