{"id":475,"date":"2021-08-24T10:41:40","date_gmt":"2021-08-24T02:41:40","guid":{"rendered":"https:\/\/www.iotot.com\/?p=475"},"modified":"2022-05-22T11:23:36","modified_gmt":"2022-05-22T03:23:36","slug":"vc%e4%b8%adclistctrl%e6%8e%a7%e4%bb%b6%e7%9a%84%e4%bd%bf%e7%94%a8","status":"publish","type":"post","link":"https:\/\/blog.iotot.com\/?p=475","title":{"rendered":"VC\u4e2dCListCtrl\u63a7\u4ef6\u7684\u4f7f\u7528"},"content":{"rendered":"\n<p>\u4e00\u3001\u6dfb\u52a0\u63a7\u4ef6<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" width=\"344\" height=\"661\" src=\"https:\/\/www.iotot.com\/wp-content\/uploads\/2021\/08\/image.png\" alt=\"\" class=\"wp-image-476\" srcset=\"https:\/\/blog.iotot.com\/wp-content\/uploads\/2021\/08\/image.png 344w, https:\/\/blog.iotot.com\/wp-content\/uploads\/2021\/08\/image-156x300.png 156w\" sizes=\"(max-width: 344px) 100vw, 344px\" \/><\/figure>\n\n\n\n<p>\u4e8c\u3001\u8bbe\u7f6e\u63a7\u4ef6\u6837\u5f0f<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" width=\"339\" height=\"594\" src=\"https:\/\/www.iotot.com\/wp-content\/uploads\/2021\/08\/image-1.png\" alt=\"\" class=\"wp-image-477\" srcset=\"https:\/\/blog.iotot.com\/wp-content\/uploads\/2021\/08\/image-1.png 339w, https:\/\/blog.iotot.com\/wp-content\/uploads\/2021\/08\/image-1-171x300.png 171w\" sizes=\"(max-width: 339px) 100vw, 339px\" \/><\/figure>\n\n\n\n<p>\u4e09\u3001\u5e38\u7528\u4ee3\u7801<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\">\t\/\/\u8bbe\u7f6e\u8bbe\u5907\u5217\u8868 \u8868\u5934\r\n\tm_listctrl_dev.InsertColumn(0, TEXT(&quot;IP Address&quot;), LVCFMT_LEFT, 100);\r\n\tm_listctrl_dev.InsertColumn(1, TEXT(&quot;Version&quot;), LVCFMT_LEFT, 100);\r\n\r\n\tfor (i = 0; i &lt; 20; i++) {\r\n\t\tm_listctrl_dev.InsertItem(i, TEXT(&quot;&quot;));\/\/\u5148\u521b\u5efa\u7a7a\u9879\r\n\t}\r\n\r\n\tm_listctrl_dev.InsertItem(0, TEXT(&quot;192.199.8.100&quot;));\r\n\tm_listctrl_dev.SetItemText(0, 1, TEXT(&quot;ok&quot;));\r\n\tm_listctrl_dev.InsertItem(1, TEXT(&quot;SSSA&quot;));\r\n\tm_listctrl_dev.SetItemText(8, 1, TEXT(&quot;ok&quot;));\r\n\tm_listctrl_dev.SetExtendedStyle(m_listctrl_dev.GetExtendedStyle() | LVS_EX_FULLROWSELECT | LVS_EX_GRIDLINES);\/\/\u8bbe\u7f6e\u8bbe\u5907\u5217\u8868\u6837\u5f0f\uff0c\u663e\u793a\u8868\u683c\uff0c\u542f\u7528\u9009\u62e9\u6b63\u884c<\/pre>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u4e00\u3001\u6dfb\u52a0\u63a7\u4ef6 \u4e8c\u3001\u8bbe\u7f6e\u63a7\u4ef6\u6837\u5f0f \u4e09\u3001\u5e38\u7528\u4ee3\u7801<\/p>\n","protected":false},"author":1,"featured_media":476,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[71],"tags":[73,72,74],"_links":{"self":[{"href":"https:\/\/blog.iotot.com\/index.php?rest_route=\/wp\/v2\/posts\/475"}],"collection":[{"href":"https:\/\/blog.iotot.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.iotot.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.iotot.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.iotot.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=475"}],"version-history":[{"count":1,"href":"https:\/\/blog.iotot.com\/index.php?rest_route=\/wp\/v2\/posts\/475\/revisions"}],"predecessor-version":[{"id":478,"href":"https:\/\/blog.iotot.com\/index.php?rest_route=\/wp\/v2\/posts\/475\/revisions\/478"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/blog.iotot.com\/index.php?rest_route=\/wp\/v2\/media\/476"}],"wp:attachment":[{"href":"https:\/\/blog.iotot.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=475"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.iotot.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=475"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.iotot.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=475"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}