Thread: Tree View Control flickering

  1. #1
    Registered User
    Join Date
    Jul 2004

    Tree View Control flickering


    I programming an application that needs to update a Tree View Control constantly ( it use a for statement to loop then it doing some computations and then put the child’s in the Tree View ). But this update it appears the common problem of window flickering . How can I solve it ? It is any way to use a virtual window ? I ask the second question because I have not found a way to create a Tree View in a virtual window , because the CreateWindow function that creates the Tree View it needs a window handler ( HWND ) and I cannot find the handler of virtual window.
    Is there any other way except virtual window ( for example threads )

    I use pure Win32 API ( not MFC ) in MS C++ 6.0


  2. #2
    Registered User Codeplug's Avatar
    Join Date
    Mar 2003
    You'll want to follow the same techniques discussed in this thread.

    You'll need to be familiar with subclassing.
    Subclassing Controls
    Safe Subclassing in Win32


Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Binary Search Trees Part III
    By Prelude in forum A Brief History of
    Replies: 16
    Last Post: 10-02-2004, 03:00 PM
  2. Tree View control not appearing
    By Garfield in forum Windows Programming
    Replies: 1
    Last Post: 03-07-2004, 01:47 PM
  3. Request for comments
    By Prelude in forum A Brief History of
    Replies: 15
    Last Post: 01-02-2004, 10:33 AM
  4. Tab Controls - API
    By -KEN- in forum Windows Programming
    Replies: 7
    Last Post: 06-02-2002, 09:44 AM
  5. BST/Red and Black Tree
    By ghettoman in forum C++ Programming
    Replies: 0
    Last Post: 10-24-2001, 10:45 PM