Extending the LabelEdit functionality of a TreeView to include validation
In my last post I described how to extend the default label edit funcionality of a TreeView control to be somewhat more flexible, by allowing you to specify custom text other than blindly using the...
View ArticleHow to be notified when your application is activated and deactivated
I recently had a requirement where a user was able to perform an action externally to my application, and my application then had to detect this for processing.I could of course just had a poller...
View ArticleTools we use - 2013 edition
As another year enters its final stages, I decided I would log the primary tools I use for my developer role, should be an interesting experiment to compare with each year, if I don't get distracted by...
View ArticleLoading the color palette from a BBM/LBM image file using C#
I took a break from arguing with our GIF decoder to take a quick look at the BBM format as I have a few files in that format containing colour palettes I wished to extract. When I looked into this, I...
View ArticleReading Photoshop Color Swatch (aco) files using C#
In a previous article I described how to read the colour map from a DeluxePaint LBM/BBM file. In the next pair of articles, I'm going to describe how to load and save colour swatch files used by...
View ArticleWriting Photoshop Color Swatch (aco) files using C#
The previous article in this mini-series described how to read files in Abode's Colour File format as used by applications such as Photoshop and other drawing programs.In this second article, I'll...
View ArticleAdding drag handles to an ImageBox to allow resizing of selection regions
The ImageBox control is already a versatile little control and I use it for all sorts of tasks. One of the features I recently wanted was to allow users to be able to select a source region, then...
View ArticleColorPicker Controls 1.0.4.0 Update
The ColorPicker Controls have been updated to version 1.0.4.0.This is a fairly substantial update, with quite a few bug fixes and enhancements to the code.What's next for the library?I feel the code is...
View ArticleAdd Projects Extension - 1.0.1.0
A short and sweet post today...I've been happily using the Add Projects extension since first writing it several months ago, and I actually find it a real time saver. However, one thing that has been...
View ArticleCircularBuffer - a first-in, first-out collection of objects using a fixed...
I haven't had much time to work on blog posts recently, but I do have one quick post to make.One of our current application prototype's stores a bunch of data. Data continuously arrives, but I only...
View ArticleBatch Syntax Highlighting in the DigitalRune Text Editor Control
In a previous article I described how to create a CSS syntax highlighting definition file for use with the open source DigitalRune Text Editor Control.Today I was testing events in one of our myriad of...
View ArticleConfiguring the emulation mode of an Internet Explorer WebBrowser control
Occasionally I need to embed HTML in my applications. If it is just to display some simple layout with basic interactions, I might use a component such as HtmlRenderer. In most cases however, I need a...
View ArticleDragging items in a ListView control with visual insertion guides
I can't remember when it was I first saw something being dragged with an insertion mark for guidance. Whenever it was, it was a long long time ago and I'm just catching up now.This article describes...
View ArticleDragging items in a ListBox control with visual insertion guides
In my last post, I described how to drag and drop items to reorder a ListView control. This time I'm going to describe the exact same technique, but this time for the more humble ListBox.Getting...
View ArticleAdding Double Click support to the ComboBox control
I was recently using a ComboBox control with the DropDownStyle set to Simple, effectively turning into a combined text box and list box. However, when I wanted an action to occur on double clicking an...
View ArticleCreating a code signing certificate with StartSSL
Edit 02Jan2017: Even if you wanted to ignore the revelations of dubious practices of StartSSL and with them now being owned by WoSign, there is another matter to consider - StartSSL authenticode...
View ArticleTools we use - 2014 edition
Following on from last years post, I'll list again what I'm using and seeing what (if anything) has changed.tl;dr; - it's pretty much the same as last yearOperating SystemsWindows Home Server 2011 -...
View ArticleHosting a ColorGrid control in a ToolStrip
The ColorGrid control is a fairly useful control for selecting from a predefined list of colours. However, it can take up quite a bit of screen real estate depending on how many colours it contains....
View ArticleEssential Algorithms - A Book Review
This post is a review (or possibly some long winded rambling) of the book Essential Algorithms: A Practical Approach to Computer Algorithms by Rod Stephens and published by Wiley.Disclaimer: I received...
View ArticleColorEcho - adding colour to echoed batch text
We use batch files for... well, pretty much everything. From simple files that simple optimize modified graphics, to the tendril-like files that build our software. For some time now, I've been using...
View Article