Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Command Bars
  New Posts New Posts RSS Feed - DialogBar child window flickering.
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

DialogBar child window flickering.

 Post Reply Post Reply
Author
Message
supermip View Drop Down
Groupie
Groupie


Joined: 03 July 2009
Location: Belgium
Status: Offline
Points: 12
Post Options Post Options   Thanks (0) Thanks(0)   Quote supermip Quote  Post ReplyReply Direct Link To This Post Topic: DialogBar child window flickering.
    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

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.031 seconds.