Print Page | Close Window

DialogBar child window flickering.

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=15041
Printed Date: 30 April 2025 at 1:52pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: DialogBar child window flickering.
Posted By: supermip
Subject: DialogBar child window flickering.
Date Posted: 25 August 2009 at 4:39am
I have a flickering issue related to the following feature:

I am working in Visual Basic 6.0 service pack 5.

In a mdi application, I have created a form without border. Into this form you will find two controls (a tree view and a list view).

I have attach this form to a DialogBar like this:
 With EoForm
  Set DlgBar = .CommandSetupBars.AddDialogBar("TaskPanel", xtpBarBottom)
  DlgBar.Caption = "Project Browser"
  DlgBar.SetSize EoForm.Width / Screen.TwipsPerPixelX, 100
  DlgBar.Closeable = False
  DlgBar.EnableAnimation = False
  Dim frm As frmDocument
  Set frm = New frmDocument
  Load frm
  DlgBar.ChildHandle = frm.hWnd
 End With

When I resize the main application border, I get a flickering side effect on the treeview and listview.

If I attach frmdocument as a child window to the main mdi form, I do not get this flickering effect.

What could be the reason ?

Thank you very much in advanced.
Best regards,
Michel.

PS: See my CodeJock-issue.zip test program to demonstrate that issue.
uploads/20090825_043630_CodeJock-issue.zip - uploads/20090825_043630_CodeJock-issue.zip




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