{"id":174,"date":"2007-01-17T18:56:46","date_gmt":"2007-01-17T16:56:46","guid":{"rendered":"https:\/\/alax.info\/blog\/174"},"modified":"2007-01-20T01:08:27","modified_gmt":"2007-01-19T23:08:27","slug":"cautohidescrollbarsedit-a-multiline-edit-control-which-shows-and-hides-scroll-bars-automatically-in-atl-and-wtl","status":"publish","type":"post","link":"https:\/\/alax.info\/blog\/174","title":{"rendered":"CAutoHideScrollBarsEdit: a multiline edit control which shows and hides scroll bars automatically in ATL and WTL"},"content":{"rendered":"<p>The idea is not new, to say the least, the interested ones may check <a href=\"http:\/\/www.codeguru.com\/cpp\/controls\/editctrl\/comments.php\/c3917\/?thread=48058\">this topic at codeguru.com<\/a>. This sample demonstrate a most simple (and straightforward) method how to do the task and is basically a demo for a simple custom control, which is based on existing control.<\/p>\n<p><img decoding=\"async\" alt=\"17-image001.png\" id=\"image171\" src=\"https:\/\/alax.info\/blog\/wp-content\/uploads\/2007\/01\/17-image001.png\" \/><\/p>\n<p><!--more--><\/p>\n<p>Keywords: CEdit, <a href=\"http:\/\/msdn2.microsoft.com\/en-us\/ms672063.aspx\">ES_MULTILINE<\/a>, <a href=\"http:\/\/msdn2.microsoft.com\/en-us\/czada357(VS.80).aspx\">WS_HSCROLL<\/a>, <a href=\"http:\/\/msdn2.microsoft.com\/en-us\/czada357(VS.80).aspx\">WS_VSCROLL<\/a>, <a href=\"http:\/\/msdn2.microsoft.com\/en-us\/ms651296.aspx\">ShowScrollBar<\/a>, <a href=\"http:\/\/msdn2.microsoft.com\/en-us\/wbw1sfde%28VS.80%29.aspx\">DECLARE_WND_SUPERCLASS<\/a>, <a href=\"http:\/\/www.codeproject.com\/wtl\/wtl4mfc9.asp\" \/><a href=\"http:\/\/msdn2.microsoft.com\/en-us\/s420ff40%28VS.80%29.aspx\">SubclassWindow<\/a><\/p>\n<p>Visual C++.NET 2005 source code can be downloaded <a id=\"p113\" href=\"https:\/\/alax.info\/blog\/wp-content\/uploads\/2007\/01\/autohidescrollbarseditcontrol.zip\">here<\/a>, compiled binary &#8211; <a id=\"p114\" href=\"https:\/\/alax.info\/blog\/wp-content\/uploads\/2007\/01\/autohidescrollbarseditcontrolexe.zip\">here<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The idea is not new, to say the least, the interested ones may check this topic at codeguru.com. This sample demonstrate a most simple (and straightforward) method how to do the task and is basically a demo for a simple custom control, which is based on existing control.<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[11,13,20],"tags":[],"class_list":["post-174","post","type-post","status-publish","format-standard","hentry","category-atl","category-source","category-wtl"],"_links":{"self":[{"href":"https:\/\/alax.info\/blog\/wp-json\/wp\/v2\/posts\/174","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/alax.info\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/alax.info\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/alax.info\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/alax.info\/blog\/wp-json\/wp\/v2\/comments?post=174"}],"version-history":[{"count":0,"href":"https:\/\/alax.info\/blog\/wp-json\/wp\/v2\/posts\/174\/revisions"}],"wp:attachment":[{"href":"https:\/\/alax.info\/blog\/wp-json\/wp\/v2\/media?parent=174"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/alax.info\/blog\/wp-json\/wp\/v2\/categories?post=174"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/alax.info\/blog\/wp-json\/wp\/v2\/tags?post=174"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}