I need to implement the TreeList control the same as in Process Explorer. I am new to the GUI and have not written such complex controls.
As I see in Process Explorer, there is a TreeListWindowClass that contains child elements: 2 headers, 3 scroll bars (one of them invisible?) And 1 static (the space between the visible scroll bars). As far as I understand, the main control draws all the objects within itself. Also, I did not find mfcxxx.dll in the attached DLLs.
Question 1: which framework is better to use? There are: MFC, WTL, simple WinAPI ... I looked at this implementation http://www.codeguru.com/cpp/controls/treeview/classes/article.php/c13167 and confused> 8000 lines of code in a CPP file with huge structures (one of them contains 80 members). This is a simple WinAPI (and C without ++). I definitely want to use OOP style. =)
Question 2: What should be the high-level design of this control? Can you explain without any details how this control should be designed?
My limitations: C ++, VS10, OS: Vista and higher.
Thanks in advance
source
share