Click here to Skip to main content
15,885,767 members

Articles by Joseph M. Newcomer (Articles: 54)

Articles: 54

RSS Feed

Average article rating: 4.53

Desktop Programming
MFC
16 May 2000   Updated: 14 Oct 2001   Rating: 3.46/5    Votes: 14   Popularity: 3.97
Licence: Custom    Views: 397,741     Bookmarked: 80   Downloaded: 9,151
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: 142,107     Bookmarked: 53   Downloaded: 1,842
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: 171,949     Bookmarked: 30   Downloaded: 1,485
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: 176,419     Bookmarked: 85   Downloaded: 3,045
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: 158,960     Bookmarked: 41   Downloaded: 1,742
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: 83,099     Bookmarked: 58   Downloaded: 1,150
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: 124,039     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: 222,366     Bookmarked: 44   Downloaded: 1,226
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: 114,914     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: 424,239     Bookmarked: 241   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: 122,311     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: 97,330     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: 88,141     Bookmarked: 38   Downloaded: 1,242
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: 84,333     Bookmarked: 18   Downloaded: 778
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.89/5    Votes: 12   Popularity: 4.20
Licence: CPOL    Views: 58,102     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: 127,098     Bookmarked: 37   Downloaded: 1,562
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: 287,835     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: 160,044     Bookmarked: 23   Downloaded: 1,377
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: 230,879     Bookmarked: 49   Downloaded: 2,978
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: 142,463     Bookmarked: 55   Downloaded: 918
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,791     Bookmarked: 12   Downloaded: 381
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: 121,529     Bookmarked: 32   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: 70,672     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: 110,342     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: 415,671     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: 131,688     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: 186,135     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: 460,149     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: 511,117     Bookmarked: 203   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: 195,584     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: 78,763     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: 121,814     Bookmarked: 29   Downloaded: 1,445
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: 257,458     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,821     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: 36,632     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: 83,477     Bookmarked: 45   Downloaded: 1,412
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: 85,727     Bookmarked: 32   Downloaded: 1,443
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: 72,743     Bookmarked: 64   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: 316,901     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: 147,997     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,074,096     Bookmarked: 312   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: 234,481     Bookmarked: 71   Downloaded: 2,606
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: 179,738     Bookmarked: 103   Downloaded: 2,062
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: 409,088     Bookmarked: 132   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,099,132     Bookmarked: 429   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: 321,175     Bookmarked: 92   Downloaded: 3,069
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: 515,899     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: 81,204     Bookmarked: 56   Downloaded: 1,249
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: 55,792     Bookmarked: 59   Downloaded: 1,588
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: 261,842     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: 175,093     Bookmarked: 84   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,641,425     Bookmarked: 335   Downloaded: 13,267
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: 172,689     Bookmarked: 30   Downloaded: 692
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: 49,423     Bookmarked: 42   Downloaded: 453
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]