Click here to Skip to main content
6,629,377 members and growing! (22,098 online)
Email Password   helpLost your password?
Announcements
BullFrog Power
 
Search    
Add to IE Search

Articles by John Simmons / outlaw programmer (39 articles found)

Average article rating: 3.85

Clipboard

Copying a DIB to the Clipboard
Last Updated: 15 Apr 2008   Page Views: 109,902   Rating: 3.55/5    Votes: 44   Popularity: 5.83   Bookmark Count: 43
Licence: The Code Project Open License (CPOL)   
Helps with copying a device independant bitmap to the clipboard.

Dialogs and Windows

Using CResizablePage In a CFormView
Last Updated: 16 Apr 2001   Page Views: 72,033   Rating: 2.87/5    Votes: 21   Popularity: 3.80   Bookmark Count: 19
Licence: The Code Project Open License (CPOL)   
Technique for utilizing a CResizablePage in a CFormView-derived class
Wizard Form Implementation
Last Updated: 17 Feb 2009   Page Views: 21,853   Rating: 4.77/5    Votes: 39   Popularity: 7.58   Bookmark Count: 102
Licence: The Code Project Open License (CPOL)   
Create a dynamically resizable wizard form
CResizableFormView
Last Updated: 6 Jun 2001   Page Views: 128,209   Rating: 3.40/5    Votes: 36   Popularity: 5.29   Bookmark Count: 32
Extension of Paolo Messina's CResizableDialog concept
Enumerate Controls In a Dialog Box or FormView
Last Updated: 9 Aug 2005   Page Views: 32,019   Rating: 3.48/5    Votes: 24   Popularity: 4.80   Bookmark Count: 16
Enumerate all controls in a dialog box or form view.

Document / View

Tracking The Mouse In A View
Last Updated: 7 May 2001   Page Views: 71,512   Rating: 2.96/5    Votes: 27   Popularity: 4.24   Bookmark Count: 28
Licence: The Code Project Open License (CPOL)   
Track a mouse click, even in a scrolled view

Files and Folders

XML Application Profile Class
Last Updated: 27 Jan 2007   Page Views: 27,613   Rating: 4.32/5    Votes: 22   Popularity: 5.79   Bookmark Count: 34
Licence: The Code Project Open License (CPOL)   
Implement XML application profiles that are similar (but not too similar) to using INI files

List Controls

CListCtrl - one of the Blonde classes in MFC
Last Updated: 8 Dec 2002   Page Views: 131,487   Rating: 3.59/5    Votes: 44   Popularity: 5.91   Bookmark Count: 25
Some dialogbox code to give the Blonde a clue

Menus

Modifying the System Menu
Last Updated: 26 Jan 2007   Page Views: 36,210   Rating: 3.14/5    Votes: 60   Popularity: 5.58   Bookmark Count: 22
Add menu items to, and learn how to handle the system menu
Dynamically Build Your Menu and/or Toolbar
Last Updated: 12 May 2005   Page Views: 60,418   Rating: 3.06/5    Votes: 37   Popularity: 4.80   Bookmark Count: 28
Build a menu and/or a toolbar dynamically without using resource files (well, almost).

Miscellaneous

CodeProject Article Scraping
Last Updated: 13 Oct 2008   Page Views: 16,674   Rating: 4.31/5    Votes: 32   Popularity: 6.49   Bookmark Count: 59
Licence: The Code Project Open License (CPOL)   
Scrape the My Articles page here on CodeProject to keep an eye on your articles.
Blinking Cells For Chris Maunder's Grid Control
Last Updated: 13 May 2005   Page Views: 31,656   Rating: 3.05/5    Votes: 23   Popularity: 4.16   Bookmark Count: 6
Licence: The Code Project Open License (CPOL)   
Create blinking cells for Chris Maunder's grid control.
User Login For WinForm Applications
Last Updated: 2 Oct 2008   Page Views: 18,321   Rating: 4.05/5    Votes: 42   Popularity: 6.58   Bookmark Count: 83
Licence: The Code Project Open License (CPOL)   
Discusses windows authentication and application-specific authentication for WinForm applications

Printing

Keep Your InkJet Print Head Clean
Last Updated: 4 Jan 2009   Page Views: 10,357   Rating: 4.78/5    Votes: 19   Popularity: 6.11   Bookmark Count: 29
Licence: The Code Project Open License (CPOL)   
A utility that you can use to "exercise" your inkjet printer without wasting a lot of ink or paper

GDI+

Determining Ideal Text Color Based on Specified Background Color
Last Updated: 8 May 2007   Page Views: 51,580   Rating: 4.36/5    Votes: 89   Popularity: 8.51   Bookmark Count: 72
A method for programatically determining the appropriate foreground color based on the specified background color

General Graphics

Replacing Part of an Existing Bitmap
Last Updated: 28 Jul 2006   Page Views: 24,648   Rating: 3.73/5    Votes: 31   Popularity: 5.57   Bookmark Count: 18
Licence: The Code Project Open License (CPOL)   
Copy a bitmap over a portion of another bitmap
Render Text On A Bitmap (and other stuff)
Last Updated: 28 Sep 2008   Page Views: 9,746   Rating: 4.17/5    Votes: 23   Popularity: 5.67   Bookmark Count: 22
Licence: The Code Project Open License (CPOL)   
Put text on a bitmap, make your winform app go full-screen, and say hello to some simple LINQ code.

Game Development

Anagrams - A Word Game in C#
Last Updated: 7 Apr 2008   Page Views: 24,426   Rating: 4.40/5    Votes: 28   Popularity: 6.37   Bookmark Count: 19
Licence: The Code Project Open License (CPOL)   
The classic word game using words and letter scores alllowed in Scrabble.

Mobile Development

Scrolling Property Page in PocketPC 2002
Last Updated: 22 Dec 2003   Page Views: 56,419   Rating: 3.60/5    Votes: 18   Popularity: 4.52   Bookmark Count: 19
Licence: The Code Project Open License (CPOL)   
Add a scrollbar to a property page when the SIP is displayed.

STL

Binary Sorting Into a std::list
Last Updated: 9 Dec 2002   Page Views: 74,516   Rating: 3.27/5    Votes: 23   Popularity: 4.45   Bookmark Count: 9
Licence: The Code Project Open License (CPOL)   
One technique for performing a binary insertion sort on a std::list

C / C++ Language

Formatting Behavior in COleDateTime for MFC8
Last Updated: 3 Aug 2006   Page Views: 10,640   Rating: 3.67/5    Votes: 11   Popularity: 3.82   Bookmark Count: 7
A passable workaround for the COleDateTime formatting behavior in MFC8.
Using CodeProject - A Day In the Life of an Application - Part 3 of 5
Last Updated: 27 Jan 2007   Page Views: 13,565   Rating: 4.00/5    Votes: 21   Popularity: 5.29   Bookmark Count: 10
Licence: The Code Project Open License (CPOL)   
The right way to code using CodeProject for occasional support
Using CodeProject - A Day In the Life of an Application - Part 1 of 5
Last Updated: 15 Apr 2008   Page Views: 24,899   Rating: 4.29/5    Votes: 41   Popularity: 6.92   Bookmark Count: 67
Licence: The Code Project Open License (CPOL)   
The right way to code using CodeProject for occasional support
Using CodeProject - A Day In the Life of an Application - Part 2 of 5
Last Updated: 15 Apr 2008   Page Views: 14,874   Rating: 4.06/5    Votes: 22   Popularity: 5.45   Bookmark Count: 16
Licence: The Code Project Open License (CPOL)   
The right way to code using CodeProject for occasional support
Using CodeProject - A Day In the Life of an Application - Part 4 of 5
Last Updated: 15 Apr 2008   Page Views: 11,470   Rating: 3.92/5    Votes: 19   Popularity: 5.01   Bookmark Count: 10
Licence: The Code Project Open License (CPOL)   
The right way to code using CodeProject for occasional support
Using CodeProject - A Day In the Life of an Application - Part 5 of 5
Last Updated: 15 Apr 2008   Page Views: 15,851   Rating: 4.00/5    Votes: 20   Popularity: 5.20   Bookmark Count: 10
Licence: The Code Project Open License (CPOL)   
The right way to code using CodeProject for occasional support

C#

Overriding App.Config Settings for Multiple Objects
Last Updated: 17 May 2008   Page Views: 15,222   Rating: 4.10/5    Votes: 18   Popularity: 5.15   Bookmark Count: 19
Licence: The Code Project Open License (CPOL)   
One method for loading common and object-specific data from your app.config file.
Share User Settings Between Applications
Last Updated: 17 Dec 2008   Page Views: 7,479   Rating: 4.72/5    Votes: 8   Popularity: 4.27   Bookmark Count: 30
Licence: The Code Project Open License (CPOL)   
A not-so-dotNet way to allow multiple programs to share a single settings file

VBScript

Determining The Ideal Text Color Based on Specified Background Color (For VBScript)
Last Updated: 7 May 2007   Page Views: 11,000   Rating: 3.52/5    Votes: 8   Popularity: 3.18   Bookmark Count: 11
Licence: The Code Project Open License (CPOL)   
The VBScript version of my C# article about the very same thing

Algorithms & Recipes

Persistent String Parser
Last Updated: 21 Dec 2008   Page Views: 23,875   Rating: 3.98/5    Votes: 19   Popularity: 5.09   Bookmark Count: 36
Licence: A Public Domain dedication   
Parse a string with quoted elements, insert/add/delete elements, and is CLS compliant

Date and Time

Scheduling Future Dates
Last Updated: 1 Oct 2008   Page Views: 13,546   Rating: 4.22/5    Votes: 47   Popularity: 7.05   Bookmark Count: 59
Licence: The Code Project Open License (CPOL)   
Implement repetitive tasks at consistent intervals

DLLs & Assemblies

Get Your DLL's Path/Name
Last Updated: 30 Nov 2006   Page Views: 43,039   Rating: 3.73/5    Votes: 42   Popularity: 6.05   Bookmark Count: 32
Licence: The Code Project Open License (CPOL)   
Two methods to retrieve the path/name of a VS2002 or higher DLL from within that DLL.

Programming Tips

Reliable Floating Point Equality Comparison
Last Updated: 5 Dec 2006   Page Views: 38,174   Rating: 2.87/5    Votes: 32   Popularity: 4.32   Bookmark Count: 10
Licence: The Code Project Open License (CPOL)   
Compare floating point numbers for equality at programmer-specified precision.

String handling

Creating a Unique String Using a UUID
Last Updated: 12 Dec 2001   Page Views: 114,443   Rating: 3.26/5    Votes: 28   Popularity: 4.72   Bookmark Count: 13
Licence: The Code Project Open License (CPOL)   
A small function to either accept or create a UUID* and return a CString
String Parsing Class (supports quoted strings)
Last Updated: 14 Mar 2002   Page Views: 121,647   Rating: 3.84/5    Votes: 52   Popularity: 6.59   Bookmark Count: 34
Parse strings with specified delimiter and specified quote character
Keeping It Clean - String Function Wrappers for VS2005
Last Updated: 17 Nov 2006   Page Views: 37,254   Rating: 3.79/5    Votes: 24   Popularity: 5.23   Bookmark Count: 8
A technique for making stdio functions compile clean regardless of the Microsoft compiler used

Debug Tips

Debug With Apps Displayed on Secondary Monitor
Last Updated: 29 Nov 2006   Page Views: 19,579   Rating: 4.14/5    Votes: 17   Popularity: 5.09   Bookmark Count: 22
Here's some code that will automatically start your app on a secondary monitor if it's compiled with debug info.

Work Issues

Being a Programmer
Last Updated: 24 Oct 2008   Page Views: 42,670   Rating: 4.48/5    Votes: 180   Popularity: 10.11   Bookmark Count: 125
Licence: The Code Project Open License (CPOL)   
My views on how to be a proper programmer

Hardware & System

Build Your Own NAS Device
Last Updated: 14 Apr 2008   Page Views: 55,723   Rating: 4.56/5    Votes: 39   Popularity: 7.26   Bookmark Count: 57
Licence: The Code Project Open License (CPOL)   
How to go about buildingyour own NAS device

John Simmons / outlaw programmer


Member
I've been paid as a programmer since 1982 with experience in Pascal, and C++ (both self-taught). I've been writing Windows programs since 1991 almost exclusively with Visual C++ and MFC. In the 2nd half of 2007, I started writing C# desktop and web applications.

My weakest point is that my moments of clarity are too brief to hold a meaningful conversation that requires more than 30 seconds to complete. Thankfully, grunts of agreement are all that is required to conduct most discussions without committing to any particular belief system.

I really don't care if you vote 1's on my forum posts, but at least act like a professional when it comes to my articles. When you play stupid little voting games because you don't agree with someone's politics or sense of humor, you're cheating all the other members of the site.
Occupation: Software Developer (Senior)
Location: United States United States


Last Updated 21 Nov 2009
Web20 | 2.2.0175 | Advertise | Privacy
Copyright © CodeProject, 1999-2009
All Rights Reserved. Terms of Use