Manning has something called MEAP (Manning Early Access Programme), where they make available unedited drafts of chapters for people who apply for MEAP. It’s not free, but they usually give one free MEAP chapter. My book’s chapter 1 is now available for free from the Manning MEAP page for my book (other MEAP chapters are [...]
Entries from September 2006
Sample chapter from my C++/CLI book
September 22nd, 2006 · 7 Comments
New article : Drag/Drop a non-existent file into Windows Explorer
September 18th, 2006 · 7 Comments
Here’s an article I wrote for The Code Project that shows how you can drag and drop a virtual file (one that does not physically exist on disk) from your app into Windows Explorer. It’s useful for scenarios like extracting a file from an archive or where the source file is on a remote machine. [...]
Tags: Win32/MFC
Microsoft on its way out from schools in Kerala
September 12th, 2006 · 13 Comments
The Government of Kerala (my state in India) has passed a ruling that public schools in the state will base their computer curriculum entirely on Linux. Initially the idea was to give schools the option to choose between Microsoft and Linux, but later this was narrowed down to limiting any Microsoft related topics to that [...]
Tags: General
ShowDialog and centering the window
September 9th, 2006 · 2 Comments
I was using ShowDialog to show a Xaml window and was surprised to find that it wasn’t easy to get it to center on the calling Window. Setting the WindowStartupLocation property to CenterOwner did not seem to have much effect. That’s when I realized that the Owner has to be explicitly set. Now, I was [...]
Tags: WPF (Avalon)