{"id":1524,"date":"2007-06-05T21:39:55","date_gmt":"2007-06-06T00:39:55","guid":{"rendered":"http:\/\/www.hoogervorst.ca\/arthur\/?p=1524"},"modified":"2007-10-06T09:27:33","modified_gmt":"2007-10-06T12:27:33","slug":"mt-tooltips","status":"publish","type":"post","link":"http:\/\/www.hoogervorst.ca\/arthur\/?p=1524","title":{"rendered":"MT, ToolTips"},"content":{"rendered":"<p><span class=\"dropcap\">Y<\/span>ou may have noticed that version 4.0 of Movable Type has been officially <a href=\"http:\/\/movabletype.org\/opensource\/\">&#8216;open sourced&#8217;<\/a> (<a href=\"http:\/\/digg.com\/software\/Movable_Type_4_0_Goes_Open_Source_Adds_50_New_Features\">at Digg<\/a>). I prefer the rather more correct &#8216;Movable Type has been relicensed under a less restrictive (or more restrictiver, whichever you fancy) license&#8217;. After all, the MT package has always <em>included<\/em> the code.\n<\/p>\n<p>Does MT still matter these days? They do but not as much after that famous &#8216;relicensing&#8217; <a href=\"http:\/\/www.sixapart.com\/about\/corner\/2004\/05\/its_about_time.html\">hot-discussed event in 2004<\/a>. A lot of people have moved to WordPress since that: however, I thought the generation of static pages was one of the plus-sides.\n<\/p>\n<p>To .Net then: if you use the ToolTip class and create instances <em>dynamically<\/em> you may have noticed that the class showcases a design paradox: if you don&#8217;t dispose these instances after you&#8217;ve finished using them, you&#8217;ll end up with (what Microsoft calls) a &#8216;managed resource leak&#8217; (obviously, there is a <a href=\"http:\/\/msdn2.microsoft.com\/en-us\/library\/ms724291.aspx\">limitation of GDI objects a program can create<\/a>. My favourite part is &#8216;There is a theoretical limit of 65,536 GDI handles per session&#8217;). However, a timed ToolTip (the type that disappears &#8216;magically&#8217;) obviously has &#8216;visibility&#8217; issues when being disposed too soon (it will never pop-up). So, the questions is: When do these tooltips need to be disposed then? It looks like that&#8217;s a paradox unless you drop them in your project at design-time.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>You may have noticed that version 4.0 of Movable Type has been officially &#8216;open sourced&#8217; (at Digg). I prefer the rather more correct &#8216;Movable Type has been relicensed under a less restrictive (or more restrictiver, whichever you fancy) license&#8217;. After &hellip; <a href=\"http:\/\/www.hoogervorst.ca\/arthur\/?p=1524\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[13,4],"tags":[56,148,147],"_links":{"self":[{"href":"http:\/\/www.hoogervorst.ca\/arthur\/index.php?rest_route=\/wp\/v2\/posts\/1524"}],"collection":[{"href":"http:\/\/www.hoogervorst.ca\/arthur\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.hoogervorst.ca\/arthur\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.hoogervorst.ca\/arthur\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"http:\/\/www.hoogervorst.ca\/arthur\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1524"}],"version-history":[{"count":0,"href":"http:\/\/www.hoogervorst.ca\/arthur\/index.php?rest_route=\/wp\/v2\/posts\/1524\/revisions"}],"wp:attachment":[{"href":"http:\/\/www.hoogervorst.ca\/arthur\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1524"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.hoogervorst.ca\/arthur\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1524"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.hoogervorst.ca\/arthur\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1524"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}