Description: vc++ VC.NET three versions of source package CListCtrl landscaping, C++ from the painting s title bar and scroll bars CListCtrl, I wrote Init () function. In this function dynamically creates scrollbars, and ensure that the original scrollbar is hidden. Also need to consider the size of the title bar, because we need to ensure that the scrollbars CStatic position PositionScrollBars () in is correct. If the appearance of the window changes, I still need to ensure that the correct position scrollbars. Because overloaded OnEraseBkgnd and OnPainthandlers avoid list so we have to consider the problem of flicker. I also changed the CSkinListCtrl () in each row instead of high-bright color system. Here is not to show that he went to see the source of it.
To Search:
File list (Check if you may need any files):
C++自绘标题栏和滚动条的CListCtrl\SkinList_DemoVC6\SkinListDone\MEMDC.H
................................\................\............\ReadMe.txt
................................\................\............\res\ColumnHeaderEnd.bmp
................................\................\............\...\ColumnHeaderSpan.bmp
................................\................\............\...\ColumnHeaderStart.bmp
................................\................\............\...\HorizontalScrollBarLeftArrow.bmp
................................\................\............\...\HorizontalScrollBarRightArrow.bmp
................................\................\............\...\HorizontalScrollBarSpan.bmp
................................\................\............\...\HorizontalScrollBarThumb.bmp
................................\................\............\...\ListCtrl_Tile.bmp
................................\................\............\...\SkinList.ico
................................\................\............\...\SkinList.rc2
................................\................\............\...\VerticleScrollbarBottom.bmp
................................\................\............\...\VerticleScrollBarDownArrow.bmp
................................\................\............\...\VerticleScrollBarSpan.bmp
................................\................\............\...\VerticleScrollBarThumb.bmp
................................\................\............\...\VerticleScrollbarTop.bmp
................................\................\............\...\VerticleScrollBarUpArrow.bmp
................................\................\............\resource.h
................................\................\............\SkinHeaderCtrl.cpp
................................\................\............\SkinHeaderCtrl.h
................................\................\............\SkinHorizontalScrollbar.cpp
................................\................\............\SkinHorizontalScrollbar.h
................................\................\............\SkinList.clw
................................\................\............\SkinList.cpp
................................\................\............\SkinList.dsp
................................\................\............\SkinList.dsw
................................\................\............\SkinList.h
................................\................\............\SkinList.rc
................................\................\............\SkinListCtrl.cpp
................................\................\............\SkinListCtrl.h
................................\................\............\SkinListDlg.cpp
................................\................\............\SkinListDlg.h
................................\................\............\SkinVerticleScrollbar.cpp
................................\................\............\SkinVerticleScrollbar.h
................................\................\............\StdAfx.cpp
................................\................\............\StdAfx.h
................................\..............S2010\SkinListDone\MEMDC.H
................................\...................\............\ReadMe.txt
................................\...................\............\res\ColumnHeaderEnd.bmp
................................\...................\............\...\ColumnHeaderSpan.bmp
................................\...................\............\...\ColumnHeaderStart.bmp
................................\...................\............\...\HorizontalScrollBarLeftArrow.bmp
................................\...................\............\...\HorizontalScrollBarRightArrow.bmp
................................\...................\............\...\HorizontalScrollBarSpan.bmp
................................\...................\............\...\HorizontalScrollBarThumb.bmp
................................\...................\............\...\ListCtrl_Tile.bmp
................................\...................\....