{"id":38303,"date":"2004-07-29T07:00:00","date_gmt":"2004-07-29T07:00:00","guid":{"rendered":"https:\/\/blogs.msdn.microsoft.com\/oldnewthing\/2004\/07\/29\/when-should-you-use-a-sunken-client-area\/"},"modified":"2004-07-29T07:00:00","modified_gmt":"2004-07-29T07:00:00","slug":"when-should-you-use-a-sunken-client-area","status":"publish","type":"post","link":"https:\/\/devblogs.microsoft.com\/oldnewthing\/20040729-00\/?p=38303","title":{"rendered":"When should you use a sunken client area?"},"content":{"rendered":"<p>The  WS_EX_CLIENTEDGE extended window style allows you to create  a window whose client area is &#8220;sunken&#8221;.  When should you use  this style?\n  The  <a href=\"http:\/\/msdn.microsoft.com\/library\/en-us\/dnwue\/html\/welcome.asp\">  Guidelines for User Interface Developers and Designers<\/a>  says in the section on  <a href=\"http:\/\/msdn.microsoft.com\/library\/en-us\/dnwue\/html\/ch14c.asp\">  the Design of Visual Elements<\/a> that  the sunken border should be used &#8220;to define the work area within a  window&#8221;.\n  Specifically what this means is that a sunken client area indicates  that the window is a &#8220;container&#8221;.  So, for example, the Explorer contents pane gets a sunken client area  since a folder &#8220;contains&#8221; its elements.  Users expect to be able  to manipulate the items inside a container.  By contrast, a dialog box is not a container, so it doesn&#8217;t get  a sunken client area.<\/p>\n<p>  At least those were the rules back in 1995.  Perhaps the rules have changed since then.  (Indeed I wouldn&#8217;t be surprised if they have.)  <\/p>\n","protected":false},"excerpt":{"rendered":"<p>The WS_EX_CLIENTEDGE extended window style allows you to create a window whose client area is &#8220;sunken&#8221;. When should you use this style? The Guidelines for User Interface Developers and Designers says in the section on the Design of Visual Elements that the sunken border should be used &#8220;to define the work area within a window&#8221;. [&hellip;]<\/p>\n","protected":false},"author":1069,"featured_media":111744,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[1],"tags":[25],"class_list":["post-38303","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-oldnewthing","tag-code"],"acf":[],"blog_post_summary":"<p>The WS_EX_CLIENTEDGE extended window style allows you to create a window whose client area is &#8220;sunken&#8221;. When should you use this style? The Guidelines for User Interface Developers and Designers says in the section on the Design of Visual Elements that the sunken border should be used &#8220;to define the work area within a window&#8221;. [&hellip;]<\/p>\n","_links":{"self":[{"href":"https:\/\/devblogs.microsoft.com\/oldnewthing\/wp-json\/wp\/v2\/posts\/38303","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/devblogs.microsoft.com\/oldnewthing\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/devblogs.microsoft.com\/oldnewthing\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/oldnewthing\/wp-json\/wp\/v2\/users\/1069"}],"replies":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/oldnewthing\/wp-json\/wp\/v2\/comments?post=38303"}],"version-history":[{"count":0,"href":"https:\/\/devblogs.microsoft.com\/oldnewthing\/wp-json\/wp\/v2\/posts\/38303\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/oldnewthing\/wp-json\/wp\/v2\/media\/111744"}],"wp:attachment":[{"href":"https:\/\/devblogs.microsoft.com\/oldnewthing\/wp-json\/wp\/v2\/media?parent=38303"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/oldnewthing\/wp-json\/wp\/v2\/categories?post=38303"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/oldnewthing\/wp-json\/wp\/v2\/tags?post=38303"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}