{"id":198,"date":"2008-01-17T20:08:28","date_gmt":"2008-01-17T19:08:28","guid":{"rendered":"http:\/\/blog.m-ri.de\/index.php\/2008\/01\/17\/und-schliesslich-entdeckte-kolumbus-ss_centerimage\/"},"modified":"2008-01-15T08:20:56","modified_gmt":"2008-01-15T07:20:56","slug":"und-schliesslich-entdeckte-kolumbus-ss_centerimage","status":"publish","type":"post","link":"http:\/\/blog.m-ri.de\/index.php\/2008\/01\/17\/und-schliesslich-entdeckte-kolumbus-ss_centerimage\/","title":{"rendered":"&#8230; und schlie\u00dflich entdeckte Kolumbus SS_CENTERIMAGE"},"content":{"rendered":"<p>Wer wollte nicht \u00a0schon immer mal einen Text in einem S<em>tatic-Control <\/em>zentrieren. Nein nicht horizontal mit <em>SS_CENTER<\/em>, das wei\u00df ja jeder ;-). Es geht um das vertikale zentrieren.<\/p>\n<p>Und wieder lernt man etwas dazu, was man einfach die letzten Jahre \u00fcberlesen hat.<\/p>\n<blockquote><p>SS_CENTERIMAGE Specifies that a bitmap is centered in the static control that contains it. The control is not resized, so that a bitmap too large for the control will be clipped. <strong>If the static control contains a single line of text, the text is centered vertically in the client area of the control. <\/strong><\/p><\/blockquote>\n<p>Auch wenn es nicht f\u00fcr mehrzeilige Texte in einem <em>Static-Controls <\/em>geht, so funktioniert es zumindest f\u00fcr einzeilige Control, was mit Sicherheit die Mehrzahl ist.<\/p>\n<p>Danke <em>CTecS<\/em> aus dem <a href=\"http:\/\/www.c-plusplus.de\/forum\/index-var-.html\">Deutschen C++ Forum<\/a>\u00a0f\u00fcr die Geist-erhellende Anmerkung.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Wer wollte nicht \u00a0schon immer mal einen Text in einem Static-Control zentrieren. Nein nicht horizontal mit SS_CENTER, das wei\u00df ja jeder ;-). Es geht um das vertikale zentrieren. Und wieder lernt man etwas dazu, was man einfach die letzten Jahre \u00fcberlesen hat. SS_CENTERIMAGE Specifies that a bitmap is centered in the static control that contains &hellip; <a href=\"http:\/\/blog.m-ri.de\/index.php\/2008\/01\/17\/und-schliesslich-entdeckte-kolumbus-ss_centerimage\/\" class=\"more-link\"><span class=\"screen-reader-text\">\u201e&#8230; und schlie\u00dflich entdeckte Kolumbus SS_CENTERIMAGE\u201c <\/span>weiterlesen<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[4,3,2],"tags":[84,83,61],"class_list":["post-198","post","type-post","status-publish","format-standard","hentry","category-mfc","category-programmieren","category-windows-api","tag-controls","tag-static","tag-winapi"],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"http:\/\/blog.m-ri.de\/index.php\/wp-json\/wp\/v2\/posts\/198","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/blog.m-ri.de\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/blog.m-ri.de\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/blog.m-ri.de\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/blog.m-ri.de\/index.php\/wp-json\/wp\/v2\/comments?post=198"}],"version-history":[{"count":0,"href":"http:\/\/blog.m-ri.de\/index.php\/wp-json\/wp\/v2\/posts\/198\/revisions"}],"wp:attachment":[{"href":"http:\/\/blog.m-ri.de\/index.php\/wp-json\/wp\/v2\/media?parent=198"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/blog.m-ri.de\/index.php\/wp-json\/wp\/v2\/categories?post=198"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/blog.m-ri.de\/index.php\/wp-json\/wp\/v2\/tags?post=198"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}