Click here to Skip to main content
14,936,800 members

Articles by PJ Arends (Articles: 25, Tip/Tricks: 3)

Articles: 25, Tip/Tricks: 3

RSS Feed

Average article rating: 4.66

Desktop Programming
MFC
Posted: 12 Apr 2017   Updated: 12 Apr 2017   Views: 8,635   Rating: 5.00/5    Votes: 3   Popularity: 2.39
Licence: The Code Project Open License (CPOL)      Bookmarked: 3   Downloaded: 444
Please Sign up or sign in to vote.
This is an alternative for "An AutoRepeat Button Class"
Posted: 28 Dec 2003   Updated: 4 Jul 2004   Views: 116,293   Rating: 4.75/5    Votes: 11   Popularity: 4.29
Licence: The Code Project Open License (CPOL)      Bookmarked: 44   Downloaded: 5,604
Please Sign up or sign in to vote.
A ComboBox that has a checkbox by each of its items.
Posted: 23 Nov 2002   Updated: 23 Nov 2002   Views: 256,436   Rating: 4.94/5    Votes: 48   Popularity: 8.16
Licence: The Code Project Open License (CPOL)      Bookmarked: 59   Downloaded: 4,960
Please Sign up or sign in to vote.
Shows how to do multiple file selection in a file dialog without having to worry about the size of the buffers
Posted: 12 Apr 2001   Updated: 16 Sep 2001   Views: 191,442   Rating: 4.58/5    Votes: 18   Popularity: 5.51
Licence: The Code Project Open License (CPOL)      Bookmarked: 51   Downloaded: 0
Please Sign up or sign in to vote.
A simple way to let your CEdit derived class have a modifiable context menu
Posted: 5 Feb 2001   Updated: 13 Dec 2002   Views: 388,865   Rating: 4.88/5    Votes: 21   Popularity: 6.35
Licence: The Code Project Open License (CPOL)      Bookmarked: 111   Downloaded: 4,840
Please Sign up or sign in to vote.
A control that combines an edit control for entering a file or directory name, and a browse button that brings up a dialog for choosing a file or folder.
Posted: 17 Mar 2001   Updated: 25 Feb 2004   Views: 112,326   Rating: 4.00/5    Votes: 8   Popularity: 3.61
Licence: The Code Project Open License (CPOL)      Bookmarked: 35   Downloaded: 885
Please Sign up or sign in to vote.
a simple class that implements a rotary (circular) text file
Posted: 10 Jan 2003   Updated: 7 May 2016   Views: 166,418   Rating: 4.83/5    Votes: 39   Popularity: 7.57
Licence: The Code Project Open License (CPOL)      Bookmarked: 77   Downloaded: 4,478
Please Sign up or sign in to vote.
An MFC control for adding middle mouse button scrolling to any CWnd derived window
Posted: 15 Sep 2004   Updated: 22 Sep 2004   Views: 97,433   Rating: 4.81/5    Votes: 10   Popularity: 4.59
Licence: The Code Project Open License (CPOL)      Bookmarked: 26   Downloaded: 3,427
Please Sign up or sign in to vote.
A locale aware, editable, self validating numeric cell class for the MFC Grid. Configurable for integers, floating point, or currencies.
Posted: 7 Dec 2009   Updated: 7 Dec 2009   Views: 74,607   Rating: 4.85/5    Votes: 14   Popularity: 5.40
Licence: The Code Project Open License (CPOL)      Bookmarked: 46   Downloaded: 4,305
Please Sign up or sign in to vote.
A C++/MFC class that allows you to use the free CutePDF Writer without user intervention
Posted: 17 Jul 2004   Updated: 17 Jul 2004   Views: 59,693   Rating: 4.57/5    Votes: 10   Popularity: 4.36
Licence: The Code Project Open License (CPOL)      Bookmarked: 19   Downloaded: 547
Please Sign up or sign in to vote.
Explains how to use the PSM_QUERYSIBLINGS message to share data between pages on a property sheet.
Posted: 28 Nov 2014   Updated: 2 Dec 2014   Views: 29,927   Rating: 4.88/5    Votes: 16   Popularity: 5.87
Licence: The Code Project Open License (CPOL)      Bookmarked: 29   Downloaded: 1,507
Please Sign up or sign in to vote.
A CTreeCtrl derived control that has four checkbox states
Posted: 15 Jul 2002   Updated: 15 Jul 2002   Views: 107,134   Rating: 3.67/5    Votes: 6   Popularity: 2.85
Licence: The Code Project Open License (CPOL)      Bookmarked: 37   Downloaded: 1,825
Please Sign up or sign in to vote.
A simple applet that lets you preview how various font and background colours interact. Has the added ability of being able to pick any colour from the screen.
Posted: 8 Dec 2002   Updated: 20 Apr 2003   Views: 158,816   Rating: 4.80/5    Votes: 29   Popularity: 6.79
Licence: The Code Project Open License (CPOL)      Bookmarked: 49   Downloaded: 938
Please Sign up or sign in to vote.
A simple macro that adds all the code necessary to initialize the GDI+ libraries in an MFC 6.0 application
Posted: 19 Dec 2006   Updated: 19 Dec 2006   Views: 91,186   Rating: 3.60/5    Votes: 13   Popularity: 4.01
Licence: The Code Project Open License (CPOL)      Bookmarked: 37   Downloaded: 2
Please Sign up or sign in to vote.
Code snippet that compares two HBITMAP handles to see if the bitmaps they contain are the same
Posted: 14 Dec 2001   Updated: 26 Aug 2003   Views: 222,194   Rating: 4.98/5    Votes: 24   Popularity: 6.68
Licence: The Code Project Open License (CPOL)      Bookmarked: 80   Downloaded: 5,474
Please Sign up or sign in to vote.
A class that draws an image with various options - transparently, disabled or grayscale, centered on or stretched to fit a given rectangle.
Multimedia
GDI
Posted: 24 Feb 2014   Updated: 24 Feb 2014   Views: 26,201   Rating: 4.82/5    Votes: 13   Popularity: 5.37
Licence: The Code Project Open License (CPOL)      Bookmarked: 33   Downloaded: 1,285
Please Sign up or sign in to vote.
A C++ class that makes it easy to print text in clearly defined rows and columns
Programming Languages
C
Posted: 8 May 2002   Updated: 8 May 2002   Views: 1,268,476   Rating: 4.84/5    Votes: 141   Popularity: 10.26
Licence: The Code Project Open License (CPOL)      Bookmarked: 387   Downloaded: 0
Please Sign up or sign in to vote.
This article gives a brief overview of C style bitwise operators
C++
Posted: 22 Jan 2014   Updated: 22 Jan 2014   Views: 10,601   Rating: 4.67/5    Votes: 2   Popularity: 1.40
Licence: The Code Project Open License (CPOL)      Bookmarked: 14   Downloaded: 311
Please Sign up or sign in to vote.
A generic template class that wraps the GlobalAlloc API
Posted: 9 Dec 2001   Updated: 10 Mar 2007   Views: 375,702   Rating: 4.94/5    Votes: 50   Popularity: 8.17
Licence: The Code Project Open License (CPOL)      Bookmarked: 200   Downloaded: 17,911
Please Sign up or sign in to vote.
A little utility program that allows you to view the contents of memory bitmaps and device contexts while you are stepping through your drawing code.
Posted: 15 Jun 2005   Updated: 15 Jun 2005   Views: 82,942   Rating: 4.84/5    Votes: 41   Popularity: 7.69
Licence: The Code Project Open License (CPOL)      Bookmarked: 54   Downloaded: 2,360
Please Sign up or sign in to vote.
An easy to use class for adding basic mouse gesture recognition to your application.
Posted: 9 Oct 2001   Updated: 9 Oct 2001   Views: 141,187   Rating: 4.50/5    Votes: 9   Popularity: 4.29
Licence: The Code Project Open License (CPOL)      Bookmarked: 55   Downloaded: 5,341
Please Sign up or sign in to vote.
A class that implements the CRC-32 Cyclic Redundancy Check Algorithm (MultiThreaded with Progress Bar support)
Posted: 11 Feb 2006   Updated: 11 Feb 2006   Views: 92,914   Rating: 4.90/5    Votes: 18   Popularity: 5.62
Licence: The Code Project Open License (CPOL)      Bookmarked: 35   Downloaded: 488
Please Sign up or sign in to vote.
Presents a header file that allows a single source file that uses STL to be built in either ANSI or Unicode, without any changes or lots of #ifdefs.
Posted: 24 Feb 2006   Updated: 4 Mar 2006   Views: 44,820   Rating: 4.83/5    Votes: 17   Popularity: 5.54
Licence: The Code Project Open License (CPOL)      Bookmarked: 24   Downloaded: 360
Please Sign up or sign in to vote.
A function that uses STL strings and streams in an effort to mimic and improve on the FormatMessage API.
Posted: 25 Sep 2012   Updated: 27 Sep 2012   Views: 15,190   Rating: 4.17/5    Votes: 5   Popularity: 2.91
Licence: The Code Project Open License (CPOL)      Bookmarked: 5   Downloaded: 244
Please Sign up or sign in to vote.
This is an alternative for "MakeMessage - An STL 'replacement' for the FormatMessage API"
Web Development
HTML
Posted: 10 May 2016   Updated: 23 Jun 2019   Views: 22,062   Rating: 4.77/5    Votes: 14   Popularity: 5.47
Licence: The Code Project Open License (CPOL)      Bookmarked: 24   Downloaded: 1,911
Please Sign up or sign in to vote.
An MFC CWnd derived grid of user definable tiles

Average blogs rating:

No blogs have been submitted.

Average tips rating: 4.93

Desktop Programming
Win32
Posted: 6 Nov 2012   Updated: 6 Nov 2012   Views: 14,541   Rating: 5.00/5    Votes: 1   Popularity: 0.00
Licence: The Code Project Open License (CPOL)      Bookmarked: 2   Downloaded: 0
Please Sign up or sign in to vote.
I needed to disable the Sleep button on my keyboard, here's how.
Programming Languages
C
Posted: 22 Mar 2010   Updated: 22 Mar 2010   Views: 25,052   Rating: 5.00/5    Votes: 6   Popularity: 3.89
Licence: The Code Project Open License (CPOL)      Bookmarked: 21   Downloaded: 0
Please Sign up or sign in to vote.
I have seen many different ways to check if the computer has an active internet connection. The best one, IMO, is to check for the presence of the default route in the IP forwarding table that is maintained by windows. This can be checked by using GetIPForwardTable function found in the...
C++
Posted: 22 Nov 2014   Updated: 5 Dec 2014   Views: 48,534   Rating: 4.78/5    Votes: 9   Popularity: 4.56
Licence: The Code Project Open License (CPOL)      Bookmarked: 18   Downloaded: 1,848
Please Sign up or sign in to vote.
A small command line utility to convert a binary file to hex encoded text file

Average reference rating:

No reference articles have been posted.

Average project rating:

No projects have been posted.

PJ Arends
President
Canada Canada
No Biography provided