Drawing horizontal and vertical gridlines
来源:百度文库 编辑:神马文学网 时间:2024/04/30 03:53:41
http://www.codeguru.com/Cpp/controls/listview/gridlines/article.php/c963/
To draw horizontal and vertical gridlines we essentiallyuse the same method used for the vertical gridline or column border usedin the previous section. After drawing the vertical lines, we use GetItemRect()to get the item height and then we draw the horizontal grid lines basedon this height. One implication of using GetItemRect() is that it failswhen the list does not have any items in it and no horizontal line is drawn.Here is the complete code of the overridden OnPaint() function. Also notethat the next version of the list view control will support the LVS_EX_GRIDLINESstyle and should make our code redundant.
http://www.voicenet.com/~pgerhart/_shware.html
To draw horizontal and vertical gridlines we essentiallyuse the same method used for the vertical gridline or column border usedin the previous section. After drawing the vertical lines, we use GetItemRect()to get the item height and then we draw the horizontal grid lines basedon this height. One implication of using GetItemRect() is that it failswhen the list does not have any items in it and no horizontal line is drawn.Here is the complete code of the overridden OnPaint() function. Also notethat the next version of the list view control will support the LVS_EX_GRIDLINESstyle and should make our code redundant.
http://www.voicenet.com/~pgerhart/_shware.html
Drawing horizontal and vertical gridlines
Where Local and Vertical Search Intersect
Vertical search
chemical drawing programs review
6 inch VMI Horizontal Dredge
6 inch VMI Horizontal Dredge1
chemical drawing programs review 2.
SimplyBlog | Vertical LEAP: the Vertical Search Engine Conference
Vertical lines for column borders
垂直之彩虹 (VERTICAL RAINBOW)
Drawing Library - The Code Project - C# Libra...
eh.the future of vertical search.
Double Vertical Ring High Gradient Magnetic Separator DLS-100 :
太阳能百叶窗灯(Solar Vertical Lamp) | 爱…稀奇~{新鲜:科技:创意...
Building and Installing ACE and Its Auxiliary Libraries and Services
google and microsoft interview questions and solutions
Beijing and Havana: Political Fraternity and ...
java, unicode and xml
process control and management
process control and management1
unix and c
Faculty and Staff
CScanGenner Design And Implement
David and Google