Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Docking Pane
  New Posts New Posts RSS Feed - Leak With Docking Panes ???
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Leak With Docking Panes ???

 Post Reply Post Reply
Author
Message
assassin316 View Drop Down
Newbie
Newbie


Joined: 12 January 2005
Status: Offline
Points: 3
Post Options Post Options   Thanks (0) Thanks(0)   Quote assassin316 Quote  Post ReplyReply Direct Link To This Post Topic: Leak With Docking Panes ???
    Posted: 13 January 2005 at 11:53am

I'm testing out the docking with the docking panes in VB.NET, and i'm doing very simple behavior. I simply create panes over and over (about 30), then I simply click on the 'X' of each pane to close all the panes. And of course I have the following code to destroy the pane:

Private Sub DockManager_Action(ByVal sender As Object, ByVal e As AxXtremeDockingPane._DDockingPaneEvents_ActionEvent) Handles DockManager.Action

   If sActions(e.action) = "PaneActionClosed" Then
     DockManager.DestroyPane(e.pane)
   End If

End Sub

 

Before continuing, sActions in the above code is simple and array of strings in case anyone is wondering. Now here's the problem, the memory NEVER goes down, keeps on rising on this very simple test. Do these controls leak ??? Am i doing something wrong ???

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.