<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Fumbling around in the dark and stumbling across the wrong solution</title><link>http://blogs.msdn.com/b/oldnewthing/archive/2006/06/13/629451.aspx</link><description>It gets worse and worse until it works in the worst way possible.</description><dc:language>en-US</dc:language><generator>Telligent Evolution Platform Developer Build (Build: 5.6.50428.7875)</generator><item><title>MalDevBlog  &amp;raquo; Wygaszanie ekranu</title><link>http://blogs.msdn.com/b/oldnewthing/archive/2006/06/13/629451.aspx#8791656</link><pubDate>Wed, 30 Jul 2008 17:30:29 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8791656</guid><dc:creator>MalDevBlog  &amp;raquo; Wygaszanie ekranu</dc:creator><description>&lt;p&gt;PingBack from &lt;a rel="nofollow" target="_new" href="http://blog.malcom.pl/2008/07/30/wygaszanie-ekranu/"&gt;http://blog.malcom.pl/2008/07/30/wygaszanie-ekranu/&lt;/a&gt;&lt;/p&gt;
&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=8791656" width="1" height="1"&gt;</description></item><item><title>Within Windows</title><link>http://blogs.msdn.com/b/oldnewthing/archive/2006/06/13/629451.aspx#7104071</link><pubDate>Mon, 14 Jan 2008 05:42:44 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:7104071</guid><dc:creator>Within Windows</dc:creator><description>&lt;p&gt;PingBack from &lt;a rel="nofollow" target="_new" href="http://withinwindows.com/?p=29"&gt;http://withinwindows.com/?p=29&lt;/a&gt;&lt;/p&gt;
&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=7104071" width="1" height="1"&gt;</description></item><item><title>anti|tgtsoft</title><link>http://blogs.msdn.com/b/oldnewthing/archive/2006/06/13/629451.aspx#6825048</link><pubDate>Fri, 21 Dec 2007 10:27:15 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:6825048</guid><dc:creator>anti|tgtsoft</dc:creator><description>&lt;p&gt;PingBack from &lt;a rel="nofollow" target="_new" href="http://www.anti-tgtsoft.com/?p=35"&gt;http://www.anti-tgtsoft.com/?p=35&lt;/a&gt;&lt;/p&gt;
&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=6825048" width="1" height="1"&gt;</description></item><item><title>re: Fumbling around in the dark and stumbling across the wrong solution</title><link>http://blogs.msdn.com/b/oldnewthing/archive/2006/06/13/629451.aspx#645954</link><pubDate>Sat, 24 Jun 2006 22:10:57 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:645954</guid><dc:creator>Yuhong Bao</dc:creator><description>The reason why -1 still can be used as a substute for 0xFFFF is because, in 16-bit Windows, -1 = 0xFFFF because the message value was 16-bit. It no longer equals 0xFFFF because the message value is increased to 32-bit in Win32.&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=645954" width="1" height="1"&gt;</description></item><item><title>re: Fumbling around in the dark and stumbling across the wrong solution</title><link>http://blogs.msdn.com/b/oldnewthing/archive/2006/06/13/629451.aspx#643482</link><pubDate>Fri, 23 Jun 2006 03:33:52 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:643482</guid><dc:creator>Norman Diamond</dc:creator><description>I wish to duplicate this followup in this thread because it follows up to this thread and there's no way to do newsgroup-style crossposts.&lt;br&gt;&lt;br&gt;&amp;gt; It so happens that the numerical value -1&lt;br&gt;&amp;gt; for a window handle is suspiciously close to&lt;br&gt;&amp;gt; the value of HWND_BROADCAST: &lt;br&gt;&amp;gt; #define HWND_BROADCAST &amp;nbsp;((HWND)0xffff)&lt;br&gt;&amp;gt; It so happens that internally, the window&lt;br&gt;&amp;gt; manager supports (HWND)-1 as an alternative&lt;br&gt;&amp;gt; value for HWND_BROADCAST. (I leave you to&lt;br&gt;&amp;gt; speculate why.)&lt;br&gt;&lt;br&gt;We can leave it to MSDN to say why.&lt;br&gt;&lt;br&gt;&lt;a rel="nofollow" target="_new" href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/winui/winui/windowsuserinterface/dataexchange/dynamicdataexchange/usingdynamicdataexchange.asp"&gt;http://msdn.microsoft.com/library/default.asp?url=/library/en-us/winui/winui/windowsuserinterface/dataexchange/dynamicdataexchange/usingdynamicdataexchange.asp&lt;/a&gt;&lt;br&gt;&lt;br&gt;* &amp;nbsp;Usually, the client broadcasts this message&lt;br&gt;* &amp;nbsp;by calling SendMessage, with &amp;#194;–1 as the&lt;br&gt;* &amp;nbsp;first parameter.&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=643482" width="1" height="1"&gt;</description></item><item><title>re: Fumbling around in the dark and stumbling across the wrong solution</title><link>http://blogs.msdn.com/b/oldnewthing/archive/2006/06/13/629451.aspx#639859</link><pubDate>Tue, 20 Jun 2006 20:02:03 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:639859</guid><dc:creator>BryanK</dc:creator><description>Oh, you're right, it was part of the taskbar. &amp;nbsp;But I put it on the right side of the screen (well, I put the Address toolbar on the right side of the screen, then added My Computer to it), and it didn't open up IE, just Acrobat. &amp;nbsp;I also tried a file located on a mapped network drive (so it's from a different zone), and that didn't seem to make any difference.&lt;br&gt;&lt;br&gt;What happens if you open the PDF from the Start-&amp;gt;Run box? &amp;nbsp;(Are ShellExecute and ShellExecuteEx working, in other words?)&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=639859" width="1" height="1"&gt;</description></item><item><title>re: That reminds me...</title><link>http://blogs.msdn.com/b/oldnewthing/archive/2006/06/13/629451.aspx#639461</link><pubDate>Tue, 20 Jun 2006 16:51:14 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:639461</guid><dc:creator>Revenant</dc:creator><description>BryanK -- Yes, that's the toolbar. (I was quite gratified when they started making it one of the default toolbars, since I've been using this particular feature since Win98.)&lt;br&gt;&lt;br&gt;I'm running XP Pro SP2, and IE is not my default browser either. In fact, I told Windows never to use it - yeah, I know, like that ever made a difference...&lt;br&gt;&lt;br&gt;Specifically, my PC is opening PDFs with the Acrobat plugin in an IE window. If I open then via a normal Explorer window, my application preferences are honoured.&lt;br&gt;&lt;br&gt;Just out of interest: was your &amp;quot;My Computer&amp;quot; toolbar part of the taskbar when you tested, or part of a separate toolbar? If it was part of the taskbar, you might want to give it a go as part of a sidebar and see what happens. You'll need another (blank or otherwise) toolbar on the same screen edge to make it use the menu function.&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=639461" width="1" height="1"&gt;</description></item><item><title>re: Fumbling around in the dark and stumbling across the wrong solution</title><link>http://blogs.msdn.com/b/oldnewthing/archive/2006/06/13/629451.aspx#639338</link><pubDate>Tue, 20 Jun 2006 15:49:42 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:639338</guid><dc:creator>BryanK</dc:creator><description>&amp;gt; [I'm not saying that any of these were necessarily good ideas, but once you've shipped a feature you're committed to supporting it.]&lt;br&gt;&lt;br&gt;Ah, I get it. &amp;nbsp;So it sounds like the problem with IE is Microsoft's marketing department way back in 1995-96-ish, perhaps along with a lack of clairvoyance about future threats. &amp;nbsp;:-P&lt;br&gt;&lt;br&gt;(However, if Konqueror can indeed do all those things -- and it's been 4-5 years since I last used it -- then the fact that it's not coming out with a new patch every month should imply something too.)&lt;br&gt;&lt;br&gt;Revenant -- You turn that toolbar on from the taskbar's context menu, right? &amp;nbsp;(Right-click the taskbar, Toolbars, New Toolbar, select My Computer, hit OK.) &amp;nbsp;That toolbar shows PDFs in Acrobat for me, not IE. &amp;nbsp;This is 2K Pro SP4, though, so maybe that has something to do with it? &amp;nbsp;(Also, IE is no longer my default browser, so that might be part of the difference too.)&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=639338" width="1" height="1"&gt;</description></item><item><title>That reminds me...</title><link>http://blogs.msdn.com/b/oldnewthing/archive/2006/06/13/629451.aspx#639043</link><pubDate>Tue, 20 Jun 2006 13:28:35 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:639043</guid><dc:creator>Revenant</dc:creator><description>Originally posted by Raymond:&lt;br&gt;[Or view a PDF file inside the browser window instead of using an external plug-in?]&lt;br&gt;&lt;br&gt;That reminds me of an interesting thing my PC does...&lt;br&gt;&lt;br&gt;I have several toolbars set up as a sidebar on the desktop, including a &amp;quot;My Computer&amp;quot; bar which lets me browse my filesystem via drop-down menus. One interesting side-effect of this method is that when I open a PDF from this menu, it opens in IE!&lt;br&gt;&lt;br&gt;I'm guessing this is because the ability to make toolbars out of folders came with IE4, which was the first version of IE to be integrated into Windows, and that somehow they're treated as being part of the &amp;quot;IE side&amp;quot; of Explorer, which naturally opens PDFs inline?&lt;br&gt;&lt;br&gt;... Will this be bugfixed in Vista? ;)&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=639043" width="1" height="1"&gt;</description></item><item><title>re: Fumbling around in the dark and stumbling across the wrong solution</title><link>http://blogs.msdn.com/b/oldnewthing/archive/2006/06/13/629451.aspx#636759</link><pubDate>Mon, 19 Jun 2006 15:31:07 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:636759</guid><dc:creator>BryanK</dc:creator><description>Regarding IE:
&lt;br&gt;
&lt;br&gt;&amp;gt; Can you open your My Computer folder from your favorite non-IE browser?
&lt;br&gt;
&lt;br&gt;No, but on the other hand, I don't see the point of being able to
do this, either. &amp;nbsp;That's what Windows Explorer is for. &amp;nbsp;(No
matter how much Microsoft marketing wanted us to believe that the
Internet was no different from the local machine 5 years ago, it wasn't
true then, and it's even less true now. &amp;nbsp;The local machine can be
trusted much more than the Internet can be.)
&lt;br&gt;
&lt;br&gt;(Note that I can do it (or its equivalent, view the root directory)
in Konqueror. &amp;nbsp;It's just that Konqueror isn't my *favorite* non-IE
browser.)
&lt;br&gt;
&lt;br&gt;&amp;gt; How about an FTP site in icon mode so you can drag/drop files to upload/download?
&lt;br&gt;
&lt;br&gt;What's the point of this? &amp;nbsp;It makes it slightly easier for new
users, or something? &amp;nbsp;If you have a browser, why would you expect
to be able to drag-and-drop to download a file? &amp;nbsp;Wouldn't users
expect to click a file to download it, just like when you're browsing
via HTTP? &amp;nbsp;Except, oh, that's right, marketing says that the
Internet is no different from the local filesystem again.
&lt;br&gt;
&lt;br&gt;OTOH, most third-party FTP programs have a drag-and-drop mode (and
it's possible that some of them will accept drops from Windows Explorer
too, I don't know). &amp;nbsp;Not sure how many of them are free, though.
&amp;nbsp;And when you're using a different program for FTP, it's a little
more obvious that a different action may be required to download a
file, so the interface "cost" of going fully DnD isn't as high.
&lt;br&gt;
&lt;br&gt;(Actually, Konqueror may be able to do this also, but I've never
tried it so I don't know for sure. &amp;nbsp;Certainly the infrastructure
is there; someone would just need to write an FTP kioslave.)
&lt;br&gt;
&lt;br&gt;&amp;gt; Or view a PDF file inside the browser window instead of using an external plug-in?
&lt;br&gt;
&lt;br&gt;"External plug-in" like the one from Adobe that's required for IE
too (at least IE6SP1)? &amp;nbsp;No, I can't view PDFs without that.
&amp;nbsp;But with it, I can view them "inside the browser window".
&lt;br&gt;
&lt;br&gt;(But I doubt that Adobe has a plug-in for Konqueror. &amp;nbsp;However,
KDE does have a PDF viewer (named, appropriately enough, kpdf), and
it's possible that kpdf can be invoked inside the Konqueror window.
&amp;nbsp;Never tried that either, though, so I don't know for sure.)&lt;BR&gt;&lt;BR&gt;&lt;DIV CLASS=post&gt;[&lt;I&gt;I'm not saying that any of these were necessarily good ideas, but once you've shipped a feature you're committed to supporting it. Even the bad features. Companies have built line of business processes around these features. -Raymond&lt;/I&gt;]&lt;/DIV&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=636759" width="1" height="1"&gt;</description></item></channel></rss>