我知道通过使用listview_getheader
你可以从列表视图中获取标题信息,但是设置标题有什么宏吗?
我想做的是这个
| Title |
|item 1 |subitem|
|item 2 |subitem|
|item 3 |subitem|
|item 4 |subitem|
|item 5 |subitem|
|item 6 |subitem|
我知道通过使用listview_getheader
你可以从列表视图中获取标题信息,但是设置标题有什么宏吗?
我想做的是这个
| Title |
|item 1 |subitem|
|item 2 |subitem|
|item 3 |subitem|
|item 4 |subitem|
|item 5 |subitem|
|item 6 |subitem|
ListView_GetHeader() gets the handle for the header.
http://msdn.microsoft.com/en-us/library/windows/desktop/bb761290(v=vs.85).aspx
Gets the handle to the header control used by a list-view control. You can use this macro or send the LVM_GETHEADER message explicitly.
With the handle, you should be able to get or set the associated text with SetWindowText().
http://msdn.microsoft.com/en-us/library/windows/desktop/ms633546(v=vs.85).aspx
Changes the text of the specified window's title bar (if it has one). If the specified window is a control, the text of the control is changed.