The first of a two part series which describes how to load and ultimately save Adobe Photoshop colour swatch files using C#. This first article describes the file format, and provides a full example project that will read RGB based swatch files.
Blog Articles and information on C# and .NET development topics
The Cyotek Development Blog has moved - please find it at https://devblog.cyotek.com.
Although these pages remain accessible, some content may not display correctly in future as the new blog evolves.
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 found a BBM file is essentially an LBM file without any image data, so I set to work at writing a new palette serializer for reading and writing the palette files. This article describes how to read the palettes from BBM and LBM files.
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 something shiny.
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 running away in the background to check, but as the requirement also needed user input, why not just wait until the user switched back to my application, then check and deal with accordingly?
This article describes how to intercept the
WM_ACTIVATEAPP message from your C# application and put it to good use.
An article which describes how to add validation support to a
TreeView control that is using custom label edit functionality.
An article which describes a robust yet simple way to have custom text when using the
LabelEdit functionality of a
TreeView and working around the limitations of Windows Forms using C# along with the
A quick note about Visual Studio 2013 support.
This article describes a simple extension that can be used to add multiple projects at once to a Visual Studio solution.
A short tip which describes how to access the hWnd of the edit component contained within a
ComboBox control via the Win32 API using
A sample project which downloads new and changed blobs from Azure storage, and optionally uploads new and changed local files.