I used the layout I described in a previous post in a Prism-based
application where I used ItemsControl
objects for regions, and the views I
attached to them didn't stretch to fill the ItemsControl
.
After some research I found the following solution: replace the default items
panel template with a DockPanel
.
In a new WPF application I'm writing I needed to bind the "SelectedItem" property of the TreeView control to the "SelectedItem" property of its ViewModel; but, alas, the TreeView's "SelectedItem" property is read-only...
After some googling I found the Versatile TreeView by Philip Sumi which adds the property I wanted, but since I'm learning WPF and want a deeper understanding I decided to write my own (and use Philip's TreeView as reference).
Read more...I've started playing with Prism again, and in the application I'm writing I needed a three-pane layout with splitters (ignore the ugly colors):
My ipod didn't want to connect to the router using WPA.
After a couple of hours of research managed it to make it work with the following changes:
Now it seems to work great (I'm writing this post from the iPod!)
For some reason the default Bluetooth driver that comes with Windows 7 and Vista doesn't have the "Turn Adapter On/Off" option, so you can't turn on the bluetooth...
Read more...Every time I need to install the required software to play HD videos properly I start looking for links, so I decided to put everything in one place:
If you want some more control over the audio (surround sound, etc...) the you can also install AC3Filter.
Read more...For several years now I've been using the Easy Window Drag autohotkey script to simulate the Alt+Drag feature that allows you to drag or resize a window by pressing on the alt key and then pressing on the window (left button to move, right button to resize) and dragging the mouse (this feature is available in almost every Linux window manager).
Since I moved this script has started working weird, sometimes it works and sometimes it doesn't, and today I found an alternative that works and it's called AltDrag, it's open source project in google code written in C, and it takes less than 2MB of RAM (which is another improvement) and it works perfectly!
Since I'm thinking of moving from SVN to a distributed version control system, the first thing I need to do is to try to convert my current repositories to the other version control systems and the first one I tried was git.
My repositories are local and I access them via file://...
, and apparently the
git-svn
application can't access the repositories that way, so I had the get
the my repositories to work via the svn://
protocol.
Until about a year ago I was using the Darcs version control system (I used the command line interface), I liked it because it was a stand-alone executable, no external dependencies whatsoever (completely portable), and I could easy backup my repository to an ftp server, and use it directly from there.
The idea in a DVCS is basically that each user has its own local copy of the repository (not just a working copy, but the entire history, sort of a personal branch), so you can basically work offline, view the project's history, commit, rollback and what else, and no one will see your changes until you synchronize your changes to the central repository.
Read more...