{"id":610,"date":"2011-07-08T14:23:40","date_gmt":"2011-07-08T14:23:40","guid":{"rendered":"https:\/\/ibex.tech\/visualcpp\/?p=610"},"modified":"2022-02-17T06:24:04","modified_gmt":"2022-02-17T06:24:04","slug":"form-transparent-area","status":"publish","type":"post","link":"https:\/\/ibex.tech\/visualcpp\/forms\/form-transparent-area","title":{"rendered":"Transparency"},"content":{"rendered":"<p>&nbsp;<\/p>\n<p>Transparency is actually simulated by drawing the pixels of the Parent, which is the form. \u00a0Therefore you only see the form pixels, stacking effects don&#8217;t work. One approach is to just draw the images in the form&#8217;s Paint event, or consider WPF which has a very different rendering model that easily supports transparency.<\/p>\n<p>&nbsp;<\/p>\n<h4>Creating a transparent cutout within a form<\/h4>\n<p>See <a href=\"http:\/\/www.c-sharpcorner.com\/UploadFile\/ShrutiShrivastava\/TransparentPanelinCSharp11232005015233AM\/TransparentPanelinCSharp.aspx\" target=\"_blank\" rel=\"noopener\">this<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>&nbsp; Transparency is actually simulated by drawing the pixels of the Parent, which is the form. \u00a0Therefore you only see the form pixels, stacking effects don&#8217;t work. One approach is to just draw the images in the form&#8217;s Paint event, or consider WPF which has a very different rendering model that easily supports transparency. &nbsp; [&hellip;]<\/p>\n","protected":false},"author":5,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[25],"tags":[],"class_list":["post-610","post","type-post","status-publish","format-standard","hentry","category-forms"],"_links":{"self":[{"href":"https:\/\/ibex.tech\/visualcpp\/wp-json\/wp\/v2\/posts\/610","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ibex.tech\/visualcpp\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ibex.tech\/visualcpp\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ibex.tech\/visualcpp\/wp-json\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/ibex.tech\/visualcpp\/wp-json\/wp\/v2\/comments?post=610"}],"version-history":[{"count":6,"href":"https:\/\/ibex.tech\/visualcpp\/wp-json\/wp\/v2\/posts\/610\/revisions"}],"predecessor-version":[{"id":1622,"href":"https:\/\/ibex.tech\/visualcpp\/wp-json\/wp\/v2\/posts\/610\/revisions\/1622"}],"wp:attachment":[{"href":"https:\/\/ibex.tech\/visualcpp\/wp-json\/wp\/v2\/media?parent=610"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ibex.tech\/visualcpp\/wp-json\/wp\/v2\/categories?post=610"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ibex.tech\/visualcpp\/wp-json\/wp\/v2\/tags?post=610"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}