详细说明:一个静态树形控件,从其它网站找到的,需要的可以试一试。
相关函数/类:
CFont CDC CString AppendMenu CMenu CSize GetMenuState CRect SetTextColor SetBkMode SelectObject DrawText PlaySound CWinApp CDialog CDataExchange CWnd DestroyIcon LoadIcon GetSystemMenu LoadString IsIconic CPaintDC SendMessage GetSystemMetrics GetClientRect DrawIcon SetWindowText SetFocus GetWindowText GetWindowRect IsZoomed DrawFrameControl CPoint ScreenToClient PtInRect IsWindow IsChild GetClassName GetWindowLong SetWindowLong InvalidateRect BeginDeferWindowPos EqualRect GetScrollPos DeferWindowPos EndDeferWindowPos UpdateWindow ZeroMemory GetWindowPlacement WriteProfileString GetProfileString SetWindowPlacement DeleteObject GetDC GetDeviceCaps MulDiv CreateFontIndirect SaveDC RestoreDC ReleaseDC CFileDialog LoadImage CBitmap CopyRect UnionRect ShowScrollBar SetScrollPos SetScrollInfo CreateCompatibleDC CreateCompatibleBitmap StretchBlt BitBlt CStatic CScrollBar GetScrollInfo WindowProc DefWindowProc CreatePopupMenu TrackPopupMenu CColorDialog CFontDialog
CFont CDC CString AppendMenu CMenu CSize GetMenuState CRect SetTextColor SetBkMode SelectObject DrawText PlaySound CWinApp CDialog CDataExchange CWnd DestroyIcon LoadIcon GetSystemMenu LoadString IsIconic CPaintDC SendMessage GetSystemMetrics GetClientRect DrawIcon SetWindowText SetFocus GetWindowText GetWindowRect IsZoomed DrawFrameControl CPoint ScreenToClient PtInRect IsWindow IsChild GetClassName GetWindowLong SetWindowLong InvalidateRect BeginDeferWindowPos EqualRect GetScrollPos DeferWindowPos EndDeferWindowPos UpdateWindow ZeroMemory GetWindowPlacement WriteProfileString GetProfileString SetWindowPlacement DeleteObject GetDC GetDeviceCaps MulDiv CreateFontIndirect SaveDC RestoreDC ReleaseDC CFileDialog LoadImage CBitmap CopyRect UnionRect ShowScrollBar SetScrollPos SetScrollInfo CreateCompatibleDC CreateCompatibleBitmap StretchBlt BitBlt CStatic CScrollBar GetScrollInfo WindowProc DefWindowProc CreatePopupMenu TrackPopupMenu CColorDialog CFontDialog
文件列表(点击判断是否您需要的文件):
StaticTreeControl
.................\ContextMenu.cpp
.................\ContextMenu.h
.................\CustomTreeControl.cpp
.................\CustomTreeControl.dsp
.................\CustomTreeControl.dsw
.................\CustomTreeControl.h
.................\CustomTreeControl.ncb
.................\CustomTreeControl.opt
.................\CustomTreeControl.plg
.................\CustomTreeControl.rc
.................\CustomTreeControlDlg.cpp
.................\CustomTreeControlDlg.h
.................\DLG_TreeNodeText.cpp
.................\DLG_TreeNodeText.h
.................\res

.................\...\CustomTreeControl.rc2
.................\ResizableDialog.cpp
.................\ResizableDialog.h
.................\Resource.h
.................\StaticTreeCtrl.cpp
.................\StaticTreeCtrl.h
.................\StdAfx.cpp
.................\StdAfx.h
StaticTreeControl
.................\ContextMenu.cpp
.................\ContextMenu.h
.................\CustomTreeControl.cpp
.................\CustomTreeControl.dsp
.................\CustomTreeControl.dsw
.................\CustomTreeControl.h
.................\CustomTreeControl.ncb
.................\CustomTreeControl.opt
.................\CustomTreeControl.plg
.................\CustomTreeControl.rc
.................\CustomTreeControlDlg.cpp
.................\CustomTreeControlDlg.h
.................\DLG_TreeNodeText.cpp
.................\DLG_TreeNodeText.h
.................\res
.................\...\CustomTreeControl.rc2
.................\ResizableDialog.cpp
.................\ResizableDialog.h
.................\Resource.h
.................\StaticTreeCtrl.cpp
.................\StaticTreeCtrl.h
.................\StdAfx.cpp
.................\StdAfx.h