📄 listview_8h-source.htm
字号:
00186 <span class="preprocessor"></span><a name="l00189"></a><a class="code" href="group__mgext__ctrl__listview.htm#ga40">00189</a> <span class="preprocessor">#define LVHF_LEFTALIGN 0x0000</span>00190 <span class="preprocessor"></span><a name="l00191"></a><a class="code" href="group__mgext__ctrl__listview.htm#ga41">00191</a> <span class="preprocessor">#define LVHF_RIGHTALIGN 0x0004</span>00192 <span class="preprocessor"></span><a name="l00193"></a><a class="code" href="group__mgext__ctrl__listview.htm#ga42">00193</a> <span class="preprocessor">#define LVHF_CENTERALIGN 0x0008</span>00194 <span class="preprocessor"></span><a name="l00199"></a><a class="code" href="struct__LVCOLUMN.htm">00199</a> <span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code" href="struct__LVCOLUMN.htm">_LVCOLUMN</a>00200 {<a name="l00202"></a><a class="code" href="struct__LVCOLUMN.htm#o0">00202</a> <span class="keywordtype">int</span> <a class="code" href="struct__LVCOLUMN.htm#o0">nCols</a>;<a name="l00204"></a><a class="code" href="struct__LVCOLUMN.htm#o1">00204</a> <span class="keywordtype">int</span> <a class="code" href="struct__LVCOLUMN.htm#o1">width</a>;<a name="l00206"></a><a class="code" href="struct__LVCOLUMN.htm#o2">00206</a> <span class="keywordtype">char</span> *<a class="code" href="struct__LVCOLUMN.htm#o2">pszHeadText</a>;<a name="l00208"></a><a class="code" href="struct__LVCOLUMN.htm#o3">00208</a> <span class="keywordtype">int</span> <a class="code" href="struct__LVCOLUMN.htm#o3">nTextMax</a>;<a name="l00210"></a><a class="code" href="struct__LVCOLUMN.htm#o4">00210</a> <a class="code" href="group__win32__types.htm#ga4">DWORD</a> <a class="code" href="struct__LVCOLUMN.htm#o4">image</a>; <a name="l00212"></a><a class="code" href="struct__LVCOLUMN.htm#o5">00212</a> <a class="code" href="group__mgext__ctrl__listview.htm#ga7">PFNLVCOMPARE</a> <a class="code" href="struct__LVCOLUMN.htm#o5">pfnCompare</a>;<a name="l00214"></a><a class="code" href="struct__LVCOLUMN.htm#o6">00214</a> <a class="code" href="group__win32__types.htm#ga4">DWORD</a> <a class="code" href="struct__LVCOLUMN.htm#o6">colFlags</a>;00215 } <a class="code" href="struct__LVCOLUMN.htm">LVCOLUMN</a>;<a name="l00217"></a><a class="code" href="group__mgext__ctrl__listview.htm#ga14">00217</a> <span class="keyword">typedef</span> <a class="code" href="struct__LVCOLUMN.htm">LVCOLUMN</a> *<a class="code" href="struct__LVCOLUMN.htm">PLVCOLUMN</a>;00218 <a name="l00221"></a><a class="code" href="group__mgext__ctrl__listview.htm#ga43">00221</a> <span class="preprocessor">#define LVFF_TEXT 0x0001</span>00222 <span class="preprocessor"></span><a name="l00223"></a><a class="code" href="group__mgext__ctrl__listview.htm#ga44">00223</a> <span class="preprocessor">#define LVFF_ADDDATA 0x0002</span>00224 <span class="preprocessor"></span><a name="l00226"></a><a class="code" href="struct__LVFINDINFO.htm">00226</a> <span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code" href="struct__LVFINDINFO.htm">_LVFINDINFO</a>00227 {<a name="l00236"></a><a class="code" href="struct__LVFINDINFO.htm#o0">00236</a> <a class="code" href="group__win32__types.htm#ga4">DWORD</a> <a class="code" href="struct__LVFINDINFO.htm#o0">flags</a>;<a name="l00238"></a><a class="code" href="struct__LVFINDINFO.htm#o1">00238</a> <span class="keywordtype">int</span> <a class="code" href="struct__LVFINDINFO.htm#o1">iStart</a>;<a name="l00240"></a><a class="code" href="struct__LVFINDINFO.htm#o2">00240</a> <span class="keywordtype">int</span> <a class="code" href="struct__LVFINDINFO.htm#o2">nCols</a>;<a name="l00242"></a><a class="code" href="struct__LVFINDINFO.htm#o3">00242</a> <span class="keywordtype">char</span> **<a class="code" href="struct__LVFINDINFO.htm#o3">pszInfo</a>;<a name="l00244"></a><a class="code" href="struct__LVFINDINFO.htm#o4">00244</a> <a class="code" href="group__win32__types.htm#ga4">DWORD</a> <a class="code" href="struct__LVFINDINFO.htm#o4">addData</a>;00245 <a name="l00247"></a><a class="code" href="struct__LVFINDINFO.htm#o5">00247</a> <span class="keywordtype">int</span> <a class="code" href="struct__LVFINDINFO.htm#o5">nItem</a>;<a name="l00249"></a><a class="code" href="struct__LVFINDINFO.htm#o6">00249</a> <span class="keywordtype">int</span> <a class="code" href="struct__LVFINDINFO.htm#o6">nSubitem</a>;00250 00251 } <a class="code" href="struct__LVFINDINFO.htm">LVFINDINFO</a>;<a name="l00253"></a><a class="code" href="group__mgext__ctrl__listview.htm#ga16">00253</a> <span class="keyword">typedef</span> <a class="code" href="struct__LVFINDINFO.htm">LVFINDINFO</a> *<a class="code" href="struct__LVFINDINFO.htm">PLVFINDINFO</a>;00254 <a name="l00256"></a><a class="code" href="struct__LVNM__NORMAL.htm">00256</a> <span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code" href="struct__LVNM__NORMAL.htm">_LVNM_NORMAL</a>00257 {<a name="l00259"></a><a class="code" href="struct__LVNM__NORMAL.htm#o0">00259</a> <a class="code" href="group__win32__types.htm#ga8">WPARAM</a> <a class="code" href="struct__LVNM__NORMAL.htm#o0">wParam</a>;<a name="l00261"></a><a class="code" href="struct__LVNM__NORMAL.htm#o1">00261</a> <a class="code" href="group__win32__types.htm#ga9">LPARAM</a> <a class="code" href="struct__LVNM__NORMAL.htm#o1">lParam</a>;00262 } <a class="code" href="struct__LVNM__NORMAL.htm">LVNM_NORMAL</a>;<a name="l00264"></a><a class="code" href="group__mgext__ctrl__listview.htm#ga18">00264</a> <span class="keyword">typedef</span> <a class="code" href="struct__LVNM__NORMAL.htm">LVNM_NORMAL</a> *<a class="code" href="struct__LVNM__NORMAL.htm">PLVNM_NORMAL</a>;00265 <a name="l00267"></a><a class="code" href="group__mgext__ctrl__listview.htm#ga19">00267</a> <span class="keyword">typedef</span> <a class="code" href="struct__LVNM__NORMAL.htm">LVNM_NORMAL</a> <a class="code" href="struct__LVNM__NORMAL.htm">LVNM_KEYDOWN</a>;<a name="l00269"></a><a class="code" href="group__mgext__ctrl__listview.htm#ga20">00269</a> <span class="keyword">typedef</span> LVNM_KEYDOWN *<a class="code" href="struct__LVNM__NORMAL.htm">PLVNM_KEYDOWN</a>;00270 <a name="l00272"></a><a class="code" href="group__mgext__ctrl__listview.htm#ga21">00272</a> <span class="keyword">typedef</span> <a class="code" href="struct__LVNM__NORMAL.htm">LVNM_NORMAL</a> <a class="code" href="struct__LVNM__NORMAL.htm">LVNM_HEADRDOWN</a>;<a name="l00274"></a><a class="code" href="group__mgext__ctrl__listview.htm#ga22">00274</a> <span class="keyword">typedef</span> LVNM_HEADRDOWN *<a class="code" href="struct__LVNM__NORMAL.htm">PLVNM_HEADRDOWN</a>;00275 <a name="l00277"></a><a class="code" href="group__mgext__ctrl__listview.htm#ga23">00277</a> <span class="keyword">typedef</span> <a class="code" href="struct__LVNM__NORMAL.htm">LVNM_NORMAL</a> <a class="code" href="struct__LVNM__NORMAL.htm">LVNM_HEADRUP</a>;<a name="l00279"></a><a class="code" href="group__mgext__ctrl__listview.htm#ga24">00279</a> <span class="keyword">typedef</span> LVNM_HEADRUP *<a class="code" href="struct__LVNM__NORMAL.htm">PLVNM_HEADUP</a>;00280 <a name="l00282"></a><a class="code" href="group__mgext__ctrl__listview.htm#ga25">00282</a> <span class="keyword">typedef</span> <a class="code" href="struct__LVNM__NORMAL.htm">LVNM_NORMAL</a> <a class="code" href="struct__LVNM__NORMAL.htm">LVNM_ITEMRDOWN</a>;<a name="l00284"></a><a class="code" href="group__mgext__ctrl__listview.htm#ga26">00284</a> <span class="keyword">typedef</span> LVNM_ITEMRDOWN *<a class="code" href="struct__LVNM__NORMAL.htm">PLVNM_ITEMRDOWN</a>;00285 <a name="l00287"></a><a class="code" href="group__mgext__ctrl__listview.htm#ga27">00287</a> <span class="keyword">typedef</span> <a class="code" href="struct__LVNM__NORMAL.htm">LVNM_NORMAL</a> <a class="code" href="struct__LVNM__NORMAL.htm">LVNM_ITEMRUP</a>;<a name="l00289"></a><a class="code" href="group__mgext__ctrl__listview.htm#ga28">00289</a> <span class="keyword">typedef</span> LVNM_ITEMRUP *<a class="code" href="struct__LVNM__NORMAL.htm">PLVNM_ITEMRUP</a>;00290 <a name="l00303"></a><a class="code" href="group__mgext__ctrl__listview__styles.htm#ga0">00303</a> <span class="preprocessor">#define LVS_UPNOTIFY 0x0001L </span><span class="comment">/* must be the same with SVS_UPNOTIFY */</span>00304 <span class="preprocessor">#define LVS_NOTIFY LVS_UPNOTIFY</span>00305 <span class="preprocessor"></span><a name="l00312"></a><a class="code" href="group__mgext__ctrl__listview__styles.htm#ga2">00312</a> <span class="preprocessor">#define LVS_SORT 0x0002L</span>00313 <span class="preprocessor"></span><a name="l00318"></a><a class="code" href="group__mgext__ctrl__listview__styles.htm#ga3">00318</a> <span class="preprocessor">#define LVS_MULTIPLESEL 0x0008L </span><span class="comment">/* reserved */</span>00319 <a name="l00324"></a><a class="code" href="group__mgext__ctrl__listview__styles.htm#ga4">00324</a> <span class="preprocessor">#define LVS_CHECKBOX 0x1000L </span><span class="comment">/* reserved */</span>00325 <a name="l00332"></a><a class="code" href="group__mgext__ctrl__listview__styles.htm#ga5">00332</a> <span class="preprocessor">#define LVS_AUTOCHECK 0x2000L </span><span class="comment">/* reserved */</span>00333 <a name="l00338"></a><a class="code" href="group__mgext__ctrl__listview__styles.htm#ga6">00338</a> <span class="preprocessor">#define LVS_AUTOCHECKBOX (LVS_CHECKBOX | LVS_AUTOCHECK) </span><span class="comment">/* reserved */</span>00339 <a name="l00344"></a><a class="code" href="group__mgext__ctrl__listview__styles.htm#ga7">00344</a> <span class="preprocessor">#define LVS_TREEVIEW 0x4000L</span>00345 <span class="preprocessor"></span><a name="l00374"></a><a class="code" href="group__mgext__ctrl__listview__msgs.htm#ga0">00374</a> <span class="preprocessor">#define LVM_ADDITEM 0xF110</span>00375 <span class="preprocessor"></span><a name="l00398"></a><a class="code" href="group__mgext__ctrl__listview__msgs.htm#ga1">00398</a> <span class="preprocessor">#define LVM_FILLSUBITEM 0xF111</span>00399 <span class="preprocessor"></span><a name="l00415"></a><a class="code" href="group__mgext__ctrl__listview__msgs.htm#ga2">00415</a> <span class="preprocessor">#define LVM_ADDCOLUMN 0xF112</span>00416 <span class="preprocessor"></span><a name="l00435"></a><a class="code" href="group__mgext__ctrl__listview__msgs.htm#ga3">00435</a> <span class="preprocessor">#define LVM_DELITEM 0xF113</span>00436 <span class="preprocessor"></span><a name="l00459"></a><a class="code" href="group__mgext__ctrl__listview__msgs.htm#ga4">00459</a> <span class="preprocessor">#define LVM_CLEARSUBITEM 0xF114</span>00460 <span class="preprocessor"></span><a name="l00476"></a><a class="code" href="group__mgext__ctrl__listview__msgs.htm#ga5">00476</a> <span class="preprocessor">#define LVM_DELCOLUMN 0xF115</span>00477 <span class="preprocessor"></span><a name="l00493"></a><a class="code" href="group__mgext__ctrl__listview__msgs.htm#ga6">00493</a> <span class="preprocessor">#define LVM_COLSORT 0xF116</span>00494 <span class="preprocessor"></span><a name="l00517"></a><a class="code" href="group__mgext__ctrl__listview__msgs.htm#ga7">00517</a> <span class="preprocessor">#define LVM_SETSUBITEMCOLOR 0xF117</span>00518 <span class="preprocessor"></span><a name="l00536"></a><a class="code" href="group__mgext__ctrl__listview__msgs.htm#ga8">00536</a> <span class="preprocessor">#define LVM_FINDITEM 0xF118</span>00537 <span class="preprocessor"></span><a name="l00562"></a><a class="code" href="group__mgext__ctrl__listview__msgs.htm#ga9">00562</a> <span class="preprocessor">#define LVM_GETSUBITEMTEXT 0xF119</span>00563 <span class="preprocessor"></span><a name="l00577"></a><a class="code" href="group__mgext__ctrl__listview__msgs.htm#ga10">00577</a> <span class="preprocessor">#define LVM_GETITEMCOUNT 0xF11A</span>00578 <span class="preprocessor"></span><a name="l00592"></a><a class="code" href="group__mgext__ctrl__listview__msgs.htm#ga11">00592</a> <span class="preprocessor">#define LVM_GETCOLUMNCOUNT 0xF11B</span>00593 <span class="preprocessor"></span><a name="l00607"></a><a class="code" href="group__mgext__ctrl__listview__msgs.htm#ga12">00607</a> <span class="preprocessor">#define LVM_GETSELECTEDITEM 0xF11C</span>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -