{"id":91901,"date":"2015-10-28T07:00:00","date_gmt":"2015-10-28T21:00:00","guid":{"rendered":"https:\/\/blogs.msdn.microsoft.com\/oldnewthing\/20151028-00\/?p=91901\/"},"modified":"2019-03-13T12:21:07","modified_gmt":"2019-03-13T19:21:07","slug":"20151028-00","status":"publish","type":"post","link":"https:\/\/devblogs.microsoft.com\/oldnewthing\/20151028-00\/?p=91901","title":{"rendered":"How do I create a wizard that contains none of the things that makes a wizard a wizard?"},"content":{"rendered":"<p>A customer asked <\/p>\n<blockquote CLASS=\"q\"><p>We&#8217;re using the <code>Property&shy;Sheet<\/code> function to create a wizard. We&#8217;ve been able to remove almost all of the wizard elements, but we can&#8217;t figure out how to get rid of the footer area. Is there a way to get rid of that? <\/p><\/blockquote>\n<p>The customer included a picture of what they were talking about, with the offending area highlighted: <\/p>\n<\/p>\n<table BORDER=\"0\" CELLSPACING=\"0\" CELLPADDING=\"0\" STYLE=\"border: solid 1px #6c99c0;font-family: Segoe UI, sans-serif;color: black;background-color: white;width: 40em\">\n<tr>\n<td ALIGN=\"right\" STYLE=\"background-color: #8dc8fb;padding-right: 4px\">         <span STYLE=\"background-color: #c75050;color: white\"><span><b>&nbsp;&nbsp;&times;&nbsp;&nbsp;<\/b><\/span><\/span>     <\/td>\n<\/tr>\n<tr>\n<td STYLE=\"border: solid #8dc8fb;border-width: 0px 3px\" VALIGN=\"bottom\">\n<div STYLE=\"height: 18em;padding-left: 10px;padding-top: 8em\">\n<p>Text text text<\/p>\n<p>Text text text<\/p>\n<\/p><\/div>\n<div STYLE=\"height: 3em;background-color: pink;text-align: center\">\n<hr>\n<p>    This area     <\/p><\/div>\n<\/td>\n<\/tr>\n<tr>\n<td STYLE=\"background-color: #8dc8fb;height: 3px\">    <\/td>\n<\/tr>\n<\/table>\n<p>Um, that footer area is where the Back\/Next buttons go. If you remove the navigation buttons, then what you have isn&#8217;t really a wizard any more. <\/p>\n<p>What you&#8217;ve got there is a dialog box. <\/p>\n<p>So use a dialog box. <\/p>\n<p>You&#8217;ve ordered a cheeseburger and are trying to remove every last bit of cheese. Don&#8217;t do that. Just order a hamburger if that&#8217;s what you want. <\/p>\n","protected":false},"excerpt":{"rendered":"<p>It&#8217;s not a wizard, so don&#8217;t use a wizard.<\/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-91901","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-oldnewthing","tag-code"],"acf":[],"blog_post_summary":"<p>It&#8217;s not a wizard, so don&#8217;t use a wizard.<\/p>\n","_links":{"self":[{"href":"https:\/\/devblogs.microsoft.com\/oldnewthing\/wp-json\/wp\/v2\/posts\/91901","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=91901"}],"version-history":[{"count":0,"href":"https:\/\/devblogs.microsoft.com\/oldnewthing\/wp-json\/wp\/v2\/posts\/91901\/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=91901"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/oldnewthing\/wp-json\/wp\/v2\/categories?post=91901"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/oldnewthing\/wp-json\/wp\/v2\/tags?post=91901"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}