article

Using message filters in Windows Forms applications

An overview of how to use the `IMessageFilter` interface to intercept Windows Messages within your application.

avatar
Richard Moss
article

Working with CorelDRAW Palettes part 2, writing .pal files

Continuing my investigation into CorelDRAW palettes, this brief article describes how to write .pal files for use with CorelDRAW! 3.0.

avatar
Richard Moss
article

Working with CorelDRAW Palettes part 1, reading .pal files

I recently picked up a copy of CorelDRAW! 3.0 from eBay. This article covers how to read text-based .PAL colour palettes created by this application.

avatar
Richard Moss
article

Converting colours between RGB and CMYK in C#

In my previous articles on reading and writing colours from various palette/swatch formats, I left CMYK conversion as an exercise for the reader and only demonstrated RGB aspects. This article demonstrates how to convert colours in CMYK format to RGB and vice versa.

avatar
Richard Moss
article

Updating AssemblyInfo.cs version information via batch file

A somewhat belated post which describes how you can use sed to automatically update version information in `AssemblyInfo.cs` files from a batch file.

avatar
Richard Moss
article

Reading and writing 18-bit RGB VGA Palette (pal) files with C#

18-bit RGB palettes are an old format used by VGA displays of yesteryear. These palettes use 6-bits for each of the red, green and blue channels and usually allowed a maximum of 256 colours from the 262,144 unique colours available. This article describes how to read and write 18-bit palette files.

avatar
Richard Moss
article

Upload data to blob storage with Azure Functions

How to store data sent to an Azure Function in blob storage.

avatar
Richard Moss
article

Arranging items radially around a central point using C#

Recently I was looking for a way of display hierarchical information in a more compact form than the previous horizontal/vertical trees I was using. One of the concepts I looked into during this was the idea of arranging children radially around a central node. This article describes an approach for doing this using circular nodes.

avatar
Richard Moss
article

Painting animated images using C#

A short article on using the ImageAnimator class to allow animated GIF's to be properly painted using System.Drawing and C#.

avatar
Richard Moss
article

Book Review: The C# Helper Top 100

A review of the book "The C# Helper Top 100" by Rod Stephens

avatar
Richard Moss
article

Getting a window rectangle without the drop shadow

A short article which describes how to get a window rectangle without including offsets for drop shadows

avatar
Richard Moss