{"id":11783,"date":"2011-01-11T07:00:00","date_gmt":"2011-01-11T07:00:00","guid":{"rendered":"https:\/\/blogs.msdn.microsoft.com\/oldnewthing\/2011\/01\/11\/the-message-text-limit-for-the-marquee-screen-saver-is-255-even-if-you-bypass-the-dialog-box-that-prevents-you-from-entering-more-than-255-characters\/"},"modified":"2011-01-11T07:00:00","modified_gmt":"2011-01-11T07:00:00","slug":"the-message-text-limit-for-the-marquee-screen-saver-is-255-even-if-you-bypass-the-dialog-box-that-prevents-you-from-entering-more-than-255-characters","status":"publish","type":"post","link":"https:\/\/devblogs.microsoft.com\/oldnewthing\/20110111-00\/?p=11783","title":{"rendered":"The message text limit for the Marquee screen saver is 255, even if you bypass the dialog box that prevents you from entering more than 255 characters"},"content":{"rendered":"<p>If you find an old Windows&nbsp;XP machine and fire up the configuration dialog for the Marquee screen saver, you&#8217;ll see that the text field for entering the message won&#8217;t let you type more than 255 characters. That&#8217;s because the Marquee screen saver uses a 255-character buffer to hold the message, and the dialog box figure there&#8217;s no point in letting you type in a message longer than the screen saver can display.\n A customer decided to bypass the configuration dialog and <a href=\"http:\/\/www.microsoft.com\/technet\/scriptcenter\/resources\/qanda\/nov06\/hey1129.mspx\"> change the text in the screen saver by editing the settings directly<\/a>, and then complained that the Marquee screen saver truncated the message at 255 characters.\n Well, yeah, because the limit is 255 characters. That&#8217;s what the dialog box was trying to tell you. If you bypass the dialog box and whack the setting directly, that doesn&#8217;t change the Marquee screen saver. Its limit is still 255 characters.<\/p>\n<p> It&#8217;s like attaching a gizmo to the gas pump fuel nozzle to disable the auto-stop feature because you want to put 20 gallons of gas into your 15-gallon tank. Disabling the auto-stop will not make the gas tank any bigger. All it does it make it easier to accidentally overflow your gas tank&#8217;s buffer. <\/p>\n","protected":false},"excerpt":{"rendered":"<p>If you find an old Windows&nbsp;XP machine and fire up the configuration dialog for the Marquee screen saver, you&#8217;ll see that the text field for entering the message won&#8217;t let you type more than 255 characters. That&#8217;s because the Marquee screen saver uses a 255-character buffer to hold the message, and the dialog box figure [&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":[104],"class_list":["post-11783","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-oldnewthing","tag-tipssupport"],"acf":[],"blog_post_summary":"<p>If you find an old Windows&nbsp;XP machine and fire up the configuration dialog for the Marquee screen saver, you&#8217;ll see that the text field for entering the message won&#8217;t let you type more than 255 characters. That&#8217;s because the Marquee screen saver uses a 255-character buffer to hold the message, and the dialog box figure [&hellip;]<\/p>\n","_links":{"self":[{"href":"https:\/\/devblogs.microsoft.com\/oldnewthing\/wp-json\/wp\/v2\/posts\/11783","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=11783"}],"version-history":[{"count":0,"href":"https:\/\/devblogs.microsoft.com\/oldnewthing\/wp-json\/wp\/v2\/posts\/11783\/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=11783"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/oldnewthing\/wp-json\/wp\/v2\/categories?post=11783"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/oldnewthing\/wp-json\/wp\/v2\/tags?post=11783"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}