article

Painting the borders of a custom control using WM_NCPAINT

Using the `WM_NCPAINT` and `WM_NCCALCSIZE` messages in order to create and paint a non-client region for a C# WinForms custom control

avatar
Richard Moss
article

Creating a custom single-axis scrolling control in WinForms

A article which describes how to create a custom control that supports scrolling on a single axis.

avatar
Richard Moss
article

kbd Markdig Plugin

An overview of a simple Markdig extension for adding support for kbd tags.

avatar
Richard Moss
article

An introduction to using Windows Image Acquisition (WIA) via C#

A brief overview on getting started with the Windows Image Acquisition (WIA) library in C#

avatar
Richard Moss
article

Simulating Bacterial Chemotaxis

A sample application demonstrating chemotaxis, in a very simplified fashion.

avatar
Richard Moss
article

Adding Scripting to .NET Applications

An article describing how you could add JavaScript script support to your .NET applications via the Jint package.

avatar
Richard Moss
article

Creating a custom type converter part 3: Types to string

How to use a TypeConverter to provide editing of immutable structs that are properties of containing objects via a PropertyGrid.

avatar
Richard Moss
article

Setting tab stops in a Windows Forms TextBox control

The Windows Forms `TextBox` control doesn't offer an out of the box method for setting tabstops within the control, this article describes how to achieve this via p/invoke.

avatar
Richard Moss
article

Migrating from Azure translation API version 2 to 3

Almost two years ago I wrote a post describing how to translate text using Azure cognitive services, however the API it uses is to be switched off and so I needed to migrate from the version 2 API to version 3. This post describes how I migrated my existing `TranslationClient` class.

avatar
Richard Moss
article

Handling the orientation EXIF tag in images using C#

A brief article on Exif orientation attributes and how to handle them in your .NET applications.

avatar
Richard Moss
article

Reading cookies from Internet Explorer

A quick article on pulling cookies from Internet Explorer or the WebBrowser control, useful for if you want to make custom HTTP requests reusing cookies from existing sessions

avatar
Richard Moss