Description: VC++ insert background image in the tree control, see the end of that tree control node connected? Realization of ideas: the first object in the memory of the CDC TreeView default drawing, and then select the background bitmap operations conducted with synthetic TreeView background image with the default bitmap, and finally through the function BitBlt () the background tree controls presented . Meanwhile, in order to avoid flicker, must override function OnItemexpanding () and functions OnItemexpanded ()
To Search:
File list (Check if you may need any files):
在树形控件中插入背景图\MyTreeCtrl.cpp
......................\MyTreeCtrl.h
......................\ReadMe.txt
......................\res\TreeBKImage.ico
......................\...\TreeBKImage.rc2
......................\Resource.h
......................\StdAfx.cpp
......................\StdAfx.h
......................\TreeBKImage.aps
......................\TreeBKImage.clw
......................\TreeBKImage.cpp
......................\TreeBKImage.dsp
......................\TreeBKImage.dsw
......................\TreeBKImage.h
......................\TreeBKImage.rc
......................\TreeBKImageDlg.cpp
......................\TreeBKImageDlg.h
......................\res
在树形控件中插入背景图