{"id":5112,"date":"2014-03-30T19:00:35","date_gmt":"2014-03-30T19:00:35","guid":{"rendered":"https:\/\/unknownerror.org\/index.php\/2014\/03\/30\/treeview-plus-minus-icon-size-collection-of-common-programming-errors\/"},"modified":"2014-03-30T19:00:35","modified_gmt":"2014-03-30T19:00:35","slug":"treeview-plus-minus-icon-size-collection-of-common-programming-errors","status":"publish","type":"post","link":"https:\/\/unknownerror.org\/index.php\/2014\/03\/30\/treeview-plus-minus-icon-size-collection-of-common-programming-errors\/","title":{"rendered":"TreeView plus-minus icon size-Collection of common programming errors"},"content":{"rendered":"<p>In TreeView fontsize &#8211; Custom Draw or Owner Draw, I learned how to change the font size of the text in a TreeView control. Just using <code>WM_SETFONT<\/code> message.<\/p>\n<p>But when I increase the font size, the plus-minus sign is not changed at the same time.<\/p>\n<p>How can I set the plus-minus sign icon size at runtime, according to the item size (which is determined by the font size).<\/p>\n<p>Here is the picture:<\/p>\n<p><img decoding=\"async\" src=\"http:\/\/i.stack.imgur.com\/V3PWA.png\" \/><\/p>\n","protected":false},"excerpt":{"rendered":"<p>In TreeView fontsize &#8211; Custom Draw or Owner Draw, I learned how to change the font size of the text in a TreeView control. Just using WM_SETFONT message. But when I increase the font size, the plus-minus sign is not changed at the same time. How can I set the plus-minus sign icon size at [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-5112","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/5112","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/comments?post=5112"}],"version-history":[{"count":0,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/5112\/revisions"}],"wp:attachment":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/media?parent=5112"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/categories?post=5112"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/tags?post=5112"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}