Monthly Archives: August 2013
Gangsters, Guns and Zombies
I have a soft spot for low budget films, especially those with zombies. It’s one of the many reasons that I love Netflix so much, which is where I found this a couple of nights ago. Don’t even bother. £1,200 budget, and the biggest name was Clint from Eastenders. The film literally consists of alternations…
Make your C# form go fullscreen
Many applications have the ability to go fullscreen. Here’s a simple snippet which will make your form go fullscreen and restore to its original location. For testing purposes, I’ve attached a very simple KeyDown event which checks for F11 keypresses (the standard fullscreen keyboard shortcut in many applications). [csharp]using System.Drawing; using System.Windows.Forms; namespace Danny_GB_Net {…
Compile the wxWidgets source – batch script
When setting up a development environment for wxWidgets, it’s usually necessary to compile your own binaries from the source. This can be a tedious task, so I threw together a simple batch script which simplifies the whole process. Note: As of 2.9.5, it is possible to download pre-built binaries for Visual C++ users. [batch]@ECHO OFF…
Creating a borderless form with a custom title bar in C#
I’ve developed a borderless form, with full functionality, in pure code. I’ve avoided design view, because… well, just because I felt like it. Coming from a C++ background, I’m quite used to coding everything in myself. NOTE: The output is quite ugly, but this is a basic example to demonstrate the functionality of a custom…