Click here to Skip to main content
15,562,015 members

Articles by Joseph M. Newcomer (Articles: 54)

Articles: 54

RSS Feed

Average article rating: 4.52

Desktop Programming
MFC
16 May 2000   Updated: 14 Oct 2001   Rating: 3.46/5    Votes: 14   Popularity: 3.97
Licence: Custom    Views: 389,172     Bookmarked: 79   Downloaded: 9,067
Please Sign up or sign in to vote.
An improvement on the CBitmapButton class.
14 Apr 2002   Updated: 14 Apr 2002   Rating: 4.45/5    Votes: 6   Popularity: 3.47
Licence: Not specified    Views: 140,175     Bookmarked: 53   Downloaded: 1,825
Please Sign up or sign in to vote.
A button control that autorepeats after a set period of time
16 May 2000   Updated: 16 May 2000   Rating: 4.60/5    Votes: 11   Popularity: 4.39
Licence: Not specified    Views: 169,597     Bookmarked: 30   Downloaded: 1,475
Please Sign up or sign in to vote.
Learn how to programmatically initialize a combo box.
16 May 2000   Updated: 16 May 2000   Rating: 4.80/5    Votes: 9   Popularity: 4.58
Licence: Not specified    Views: 173,715     Bookmarked: 83   Downloaded: 3,008
Please Sign up or sign in to vote.
Learn how to use printf-like functionality to debug your GUI applications.
27 Mar 2001   Updated: 27 Jun 2001   Rating: 4.50/5    Votes: 8   Popularity: 4.06
Licence: Not specified    Views: 156,000     Bookmarked: 41   Downloaded: 1,724
Please Sign up or sign in to vote.
Taking the pain out of adding a horizontal scrollbar to a listbox.
30 Jun 2008   Updated: 10 Jul 2008   Rating: 4.82/5    Votes: 28   Popularity: 6.82
Licence: CPOL    Views: 80,158     Bookmarked: 58   Downloaded: 1,130
Please Sign up or sign in to vote.
How threads can be used in a console app
5 Apr 2001   Updated: 5 Apr 2001   Rating: 4.44/5    Votes: 6   Popularity: 3.46
Licence: Not specified    Views: 121,528     Bookmarked: 23   Downloaded: 0
Please Sign up or sign in to vote.
You have a lot of dialogs that have a lot of properties in common. You'd like to derive the specialized ones from the general ones. Here's how.
15 Oct 2001   Updated: 15 Oct 2001   Rating: 4.09/5    Votes: 8   Popularity: 3.69
Licence: Not specified    Views: 218,522     Bookmarked: 44   Downloaded: 1,219
Please Sign up or sign in to vote.
This is my method of creating dialog-based apps, and in addition, illustrates how to handle the Enter key in an edit control.
16 May 2000   Updated: 16 May 2000   Rating: 4.56/5    Votes: 6   Popularity: 3.54
Licence: Not specified    Views: 113,473     Bookmarked: 47   Downloaded: 0
Please Sign up or sign in to vote.
Learn how to effectively control your dialogs.
16 May 2000   Updated: 16 May 2000   Rating: 4.97/5    Votes: 63   Popularity: 8.83
Licence: Not specified    Views: 407,323     Bookmarked: 239   Downloaded: 0
Please Sign up or sign in to vote.
Learn effective methods for managing your user-defined messages.
23 May 2000   Updated: 23 May 2000   Rating: 4.92/5    Votes: 7   Popularity: 4.16
Licence: Not specified    Views: 119,540     Bookmarked: 32   Downloaded: 0
Please Sign up or sign in to vote.
Learn how to display a message box from a console application.
24 Oct 2000   Updated: 24 Oct 2001   Rating: 4.95/5    Votes: 12   Popularity: 5.34
Licence: Not specified    Views: 95,020     Bookmarked: 38   Downloaded: 0
Please Sign up or sign in to vote.
PreSubclassWindow is a very nice handler to use for certain effects in dialogs.
24 Oct 2001   Updated: 24 Oct 2001   Rating: 4.70/5    Votes: 7   Popularity: 3.97
Licence: Not specified    Views: 86,831     Bookmarked: 38   Downloaded: 1,221
Please Sign up or sign in to vote.
A class that automatically registers its own Window class.
14 Apr 2002   Updated: 14 Apr 2002   Rating: 4.00/5    Votes: 3   Popularity: 1.91
Licence: Not specified    Views: 82,323     Bookmarked: 18   Downloaded: 774
Please Sign up or sign in to vote.
But WM_TIMER messages are not routable via the standard MFC "command routing" mechanism. This article shows you how to work around this.
30 Jun 2008   Updated: 30 Jun 2008   Rating: 3.65/5    Votes: 11   Popularity: 3.80
Licence: CPOL    Views: 55,622     Bookmarked: 14   Downloaded: 0
Please Sign up or sign in to vote.
Handling complex control interactions when edit controls are involved can lead to problems when EN_CHANGE notifications are generated by the application actually changing the control values. To avoid having to handle EN_CHANGE notifications from CEdit and CRichEdit, this article shows how to derive
3 Nov 2000   Updated: 3 Nov 2000   Rating: 4.20/5    Votes: 5   Popularity: 2.94
Licence: Not specified    Views: 124,667     Bookmarked: 36   Downloaded: 1,539
Please Sign up or sign in to vote.
A very informative, user-oriented validation edit control.
4 Apr 2001   Updated: 24 Oct 2001   Rating: 4.73/5    Votes: 24   Popularity: 6.44
Licence: Not specified    Views: 279,603     Bookmarked: 59   Downloaded: 0
Please Sign up or sign in to vote.
The secrets of File Handles and their relationship to File *, CFile, CStdioFile, etc.
4 Feb 2002   Updated: 4 Feb 2002   Rating: 5.00/5    Votes: 6   Popularity: 3.89
Licence: Not specified    Views: 153,213     Bookmarked: 23   Downloaded: 1,354
Please Sign up or sign in to vote.
A control for generating colour gradients
16 May 2000   Updated: 16 May 2000   Rating: 4.41/5    Votes: 12   Popularity: 4.41
Licence: Custom    Views: 225,475     Bookmarked: 49   Downloaded: 2,944
Please Sign up or sign in to vote.
Learn how to implement print support in your applications.
16 May 2000   Updated: 16 May 2000   Rating: 3.90/5    Votes: 9   Popularity: 3.72
Licence: Not specified    Views: 138,570     Bookmarked: 55   Downloaded: 913
Please Sign up or sign in to vote.
Learn how to implement an auto-incrementing build number for your projects.
16 May 2000   Updated: 16 May 2000   Rating: 3.00/5    Votes: 1   Popularity: 0.00
Licence: Not specified    Views: 45,240     Bookmarked: 12   Downloaded: 380
Please Sign up or sign in to vote.
A tool to check the consistency of your dialog shortcuts.
27 Mar 2001   Updated: 27 Mar 2001   Rating: 5.00/5    Votes: 14   Popularity: 5.73
Licence: Custom    Views: 113,448     Bookmarked: 31   Downloaded: 0
Please Sign up or sign in to vote.
GDI objects selected in a DC can't be deleted - even when you call DeleteObject. This handy class makes these potential leaks a thing of the past.
16 May 2000   Updated: 16 May 2000   Rating: 4.67/5    Votes: 12   Popularity: 4.86
Licence: Custom    Views: 69,852     Bookmarked: 19   Downloaded: 0
Please Sign up or sign in to vote.
Learn about who owns the GUI definition and pitfalls of GUI programming
16 May 2000   Updated: 31 Mar 2001   Rating: 4.44/5    Votes: 10   Popularity: 4.23
Licence: Custom    Views: 108,510     Bookmarked: 59   Downloaded: 0
Please Sign up or sign in to vote.
Learn how to effectively draw your dialogs
5 Apr 2001   Updated: 5 Apr 2001   Rating: 5.00/5    Votes: 27   Popularity: 6.99
Licence: Not specified    Views: 395,076     Bookmarked: 98   Downloaded: 0
Please Sign up or sign in to vote.
How do you capture the bitmap of a window? This little download shows how, and places the bitmap on the clipboard.
16 May 2000   Updated: 16 May 2000   Rating: 4.98/5    Votes: 26   Popularity: 6.96
Licence: Not specified    Views: 128,865     Bookmarked: 64   Downloaded: 0
Please Sign up or sign in to vote.
Attaching and detaching MFC objects to and from Windows objects.
16 May 2000   Updated: 16 May 2000   Rating: 4.94/5    Votes: 19   Popularity: 6.32
Licence: Not specified    Views: 182,653     Bookmarked: 95   Downloaded: 0
Please Sign up or sign in to vote.
Learn how to use callbacks and threads with MFC.
16 May 2000   Updated: 16 May 2000   Rating: 4.82/5    Votes: 26   Popularity: 6.37
Licence: CPOL    Views: 442,054     Bookmarked: 50   Downloaded: 0
Please Sign up or sign in to vote.
Learn how to refrain from using GetDlgItem.
16 May 2000   Updated: 16 May 2000   Rating: 4.92/5    Votes: 77   Popularity: 9.20
Licence: Not specified    Views: 492,062     Bookmarked: 200   Downloaded: 0
Please Sign up or sign in to vote.
Learn the right way to limit your application to run only one instance.
2 Jun 2000   Updated: 2 Jun 2000   Rating: 4.68/5    Votes: 33   Popularity: 7.04
Licence: CPOL    Views: 191,292     Bookmarked: 76   Downloaded: 0
Please Sign up or sign in to vote.
Explains misconceptions about timing in Windows.
4 Apr 2001   Updated: 4 Apr 2001   Rating: 4.69/5    Votes: 18   Popularity: 5.65
Licence: CPOL    Views: 77,723     Bookmarked: 36   Downloaded: 0
Please Sign up or sign in to vote.
A discussion on the working size of your executable, and why you shouldn't believe those numbers PView or task manager tell you.
5 Jun 2002   Updated: 5 Jun 2002   Rating: 4.85/5    Votes: 10   Popularity: 4.10
Licence: Not specified    Views: 119,391     Bookmarked: 29   Downloaded: 1,429
Please Sign up or sign in to vote.
A simeple editor to make my polygon class a bit more usable.
16 May 2000   Updated: 23 Apr 2007   Rating: 3.43/5    Votes: 29   Popularity: 5.02
Licence: Not specified    Views: 251,707     Bookmarked: 41   Downloaded: 0
Please Sign up or sign in to vote.
Learn how to avoid using UpdateData in your modal dialogs.
17 May 2000   Updated: 17 May 2000   Rating: 4.11/5    Votes: 4   Popularity: 2.48
Licence: CPOL    Views: 63,110     Bookmarked: 59   Downloaded: 0
Please Sign up or sign in to vote.
A collection of code examples and essays that I've often posted to the microsoft.public.vc.mfc newsgroup and other places
30 Jun 2008   Updated: 30 Jun 2008   Rating: 3.57/5    Votes: 13   Popularity: 3.97
Licence: CPOL    Views: 35,741     Bookmarked: 16   Downloaded: 0
Please Sign up or sign in to vote.
This essay shows an interface that allows the ::FormatMessage API to be easily accessed from MFC.
27 Mar 2001   Updated: 27 Mar 2001   Rating: 4.55/5    Votes: 9   Popularity: 4.34
Licence: Not specified    Views: 82,267     Bookmarked: 45   Downloaded: 1,403
Please Sign up or sign in to vote.
This represents a handy set of classes I built to ease the pain of dealing with the Registry.
24 Oct 2001   Updated: 24 Oct 2001   Rating: 4.25/5    Votes: 5   Popularity: 2.97
Licence: Not specified    Views: 84,937     Bookmarked: 32   Downloaded: 1,434
Please Sign up or sign in to vote.
A class to make handling polygons easier.
16 May 2000   Updated: 16 May 2000   Rating: 4.75/5    Votes: 15   Popularity: 5.29
Licence: Not specified    Views: 71,853     Bookmarked: 65   Downloaded: 0
Please Sign up or sign in to vote.
Learn effective methods for logging and debugging your Windows apps.
16 May 2000   Updated: 12 Aug 2000   Rating: 4.93/5    Votes: 106   Popularity: 9.87
Licence: Not specified    Views: 308,896     Bookmarked: 134   Downloaded: 0
Please Sign up or sign in to vote.
Learn about the potential pitfalls of code optimization.
17 Jul 2001   Updated: 17 Jul 2001   Rating: 3.22/5    Votes: 7   Popularity: 2.72
Licence: Not specified    Views: 143,707     Bookmarked: 25   Downloaded: 0
Please Sign up or sign in to vote.
A simple method of creating a unique name or identifier.
16 May 2000   Updated: 17 May 2000   Rating: 4.95/5    Votes: 71   Popularity: 9.16
Licence: CPOL    Views: 1,036,912     Bookmarked: 310   Downloaded: 0
Please Sign up or sign in to vote.
Learn how to effectively use CStrings.
15 Oct 2001   Updated: 25 Oct 2001   Rating: 4.87/5    Votes: 14   Popularity: 5.42
Licence: Custom    Views: 227,998     Bookmarked: 71   Downloaded: 2,563
Please Sign up or sign in to vote.
This class allows you to create a child process and receive notification of its output.
16 May 2000   Updated: 16 May 2000   Rating: 4.83/5    Votes: 11   Popularity: 4.83
Licence: Not specified    Views: 175,325     Bookmarked: 103   Downloaded: 2,048
Please Sign up or sign in to vote.
Learn how to create new processes and how to efficiently manage them.
16 May 2000   Updated: 16 May 2000   Rating: 4.25/5    Votes: 18   Popularity: 5.12
Licence: Custom    Views: 397,734     Bookmarked: 131   Downloaded: 0
Please Sign up or sign in to vote.
Learn tricks on how to create and use a User-Interface thread
16 May 2000   Updated: 5 Apr 2001   Rating: 4.93/5    Votes: 127   Popularity: 10.24
Licence: Not specified    Views: 1,053,509     Bookmarked: 428   Downloaded: 0
Please Sign up or sign in to vote.
Learn how to create and use worker threads in your applications.
14 Jun 2001   Updated: 14 Jun 2001   Rating: 4.98/5    Votes: 25   Popularity: 6.87
Licence: Custom    Views: 310,205     Bookmarked: 92   Downloaded: 3,053
Please Sign up or sign in to vote.
An introduction to using Semaphores
16 May 2000   Updated: 16 Jul 2001   Rating: 4.97/5    Votes: 94   Popularity: 9.74
Licence: Not specified    Views: 498,446     Bookmarked: 253   Downloaded: 0
Please Sign up or sign in to vote.
Learn about the issues and differences between Debug and Release builds.
Programming Languages
C++
17 Jun 2005   Updated: 17 Jun 2005   Rating: 4.93/5    Votes: 32   Popularity: 7.21
Licence: Not specified    Views: 78,743     Bookmarked: 56   Downloaded: 1,233
Please Sign up or sign in to vote.
A better Zoomin utility.
11 Jul 2005   Updated: 11 Jul 2005   Rating: 4.91/5    Votes: 22   Popularity: 6.49
Licence: Not specified    Views: 54,652     Bookmarked: 59   Downloaded: 1,560
Please Sign up or sign in to vote.
A viewport explorer utility.
27 Mar 2001   Updated: 27 Mar 2001   Rating: 4.57/5    Votes: 15   Popularity: 5.09
Licence: Not specified    Views: 256,452     Bookmarked: 70   Downloaded: 0
Please Sign up or sign in to vote.
A checksum is a value which is computed which allows you to check the validity of something. Typically, checksums are used in data transmission contexts to detect if the data has been transmitted successfully.
7 Nov 2000   Updated: 7 Nov 2000   Rating: 4.84/5    Votes: 10   Popularity: 4.37
Licence: Not specified    Views: 170,943     Bookmarked: 83   Downloaded: 0
Please Sign up or sign in to vote.
Here is the ultimate header file that makes multiple declaration compiler errors a thing of the past.
31 Mar 2001   Updated: 31 Mar 2001   Rating: 4.89/5    Votes: 81   Popularity: 9.20
Licence: Not specified    Views: 1,607,649     Bookmarked: 332   Downloaded: 13,160
Please Sign up or sign in to vote.
There is a lot of confusion about how to set up and use global hook functions. This essay attempts to clear up some of these issues.
4 Feb 2002   Updated: 4 Feb 2002   Rating: 3.33/5    Votes: 7   Popularity: 2.82
Licence: Not specified    Views: 168,474     Bookmarked: 30   Downloaded: 682
Please Sign up or sign in to vote.
An example of one of the most effective uses of the the call to FormatMessage
1 Jul 2008   Updated: 1 Jul 2008   Rating: 4.91/5    Votes: 23   Popularity: 6.59
Licence: CPOL    Views: 47,292     Bookmarked: 42   Downloaded: 440
Please Sign up or sign in to vote.
Fibers are a lightweigtht cooperative threading mechanism, or a coroutine mechanism, depending on how you look at them. Besides providing a very efficient thread-like implementation, fibers allow you to provide "continuations", that is, computations which perform some function, suspend themselves, a

Average blogs rating:

No blogs have been submitted.

Average tips rating:

No tips have been posted.

Average reference rating:

No reference articles have been posted.

Average project rating:

No projects have been posted.
Retired
United States United States
PhD, Computer Science, Carnegie Mellon University, 1975
Certificate in Forensic Science and the Law, Duquesne University, 2008

Co-Author, [i]Win32 Programming[/i]