CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Aug 1999
    Posts
    1

    How to remove Flicker from TreeView in Splitter Windows

    Hi:

    I have a TreeView in a Three-Way Splitter Windows.
    And My Program will update all item in treeview every couple of seconds. When my treeview have many level of items ,it will have a horizonal scroll bar, the view will not flicker.
    But if the tree is update to contain fewer items then the scroll bar will disappear, in this case treeview will flicker.

    Do you know why treeview will flicker when it hasn't scroll bar?


  2. #2
    Join Date
    Jun 1999
    Posts
    319

    Re: How to remove Flicker from TreeView in Splitter Windows

    Don't know about horizontal scroll. But use the LockWindow, UnlockWindow functions to lock/unlock the update window. Before you update them contents use the LockWindow for the TreeViewCtrl. After the update use the UnlockWindow. It shold not flicker any more.
    Let me know if this helps you.
    Best regards,
    Faby


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured