Click here to Skip to main content
15,897,718 members
This competition has ended

MFC/C++ Feb 2006

Contribute to CodeProject and you'll automatically be in the running for a monthly prize!

Each month at CodeProject we gather together the best of the articles submitted the previous month and ask our readers to choose the best of the best. Entry is automatic - just submit you articke and we'll do the rest.

Check out the submission guidelines for information on posting articles.

Current Entries

Articles that match the contest criteria are automatically entered. The top 50 entries are shown.

Please Sign up or sign in to vote.
8 Feb 2006Michael Dunn
A tutorial on using GDI and common dialogs in WTL.
Please Sign up or sign in to vote.
20 Apr 2006Bruno van Dooren
An article about developing a driver for the WDF Kernel Mode Driver Foundation.
Please Sign up or sign in to vote.
28 Aug 2013Software Developer's Journal
Neural networks are typically associated with specialised applications, developed only by select groups of experts. This misconception has had a highly negative effect on its popularity. Hopefully, the FANN library will help fill this gap.
Please Sign up or sign in to vote.
10 May 2011Ludvik Jerabek
Object based INI file editing in Windows and Linux
Please Sign up or sign in to vote.
19 Feb 2006Nish Nishant
MessageBoxManager is a Windows Forms component that you can drag & drop into a Windows Forms project's main form, and it gives you enhanced message box functionality without forcing you to change your existing calls to any of the MessageBox.Show() overloads
Please Sign up or sign in to vote.
11 Feb 2006PJ Arends
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.
Please Sign up or sign in to vote.
16 Feb 2006Nitron
This article presents a 'cut-n-paste' solution for getting the path to a directory.
Please Sign up or sign in to vote.
19 Oct 2007Quynh Nguyen
A very efficient reader-writer lock class in C++ that is similar to the .NET ReaderWriterLock one
Please Sign up or sign in to vote.
21 Feb 2006Nish Nishant
This article demonstrates how to use the Windows Forms 2.0 MenuStrip and ToolStrip controls in an MFC SDI application, using C++/CLI, to get the Office 2003 style menu and toolbar
Please Sign up or sign in to vote.
25 Feb 2006Ahmad_Hashem
A simulation of the famous MineSweeper game by Microsoft.
Please Sign up or sign in to vote.
4 Mar 2006PJ Arends 1 alternative  
A function that uses STL strings and streams in an effort to mimic and improve on the FormatMessage API.
Please Sign up or sign in to vote.
24 Feb 2006msg555
Optimal Image Transformation
Please Sign up or sign in to vote.
2 Mar 2007Markvp
An article on using ModAssert, an advanced assertion framework of 24 assertions that can use Rich Booleans.
Please Sign up or sign in to vote.
27 Feb 2006Fernando A. Gomez F.
A COM / ATL component for zipping and unzipping files.
Please Sign up or sign in to vote.
22 Feb 2006zengxi
An article on implementing drag and drop operation between your NSE and system namespace.
Please Sign up or sign in to vote.
6 Mar 2006Geert van Horrik
This class enables you to easily parse a command line in any C++ application.
Please Sign up or sign in to vote.
2 Feb 2006Sam NG
An article discussing about static_cast and reinterpret_cast.
Please Sign up or sign in to vote.
28 Aug 2013Software Developer's Journal
Using the Task Scheduler interface in applications can be tricky, as it requires a detailed knowledge of the COM technology. This article presents a practical solution to this problem, based on simplifying communications with the interface.
Please Sign up or sign in to vote.
14 Feb 2006JJimenezShaw
A utility to list and hide/unhide all application windows.
Please Sign up or sign in to vote.
24 Feb 2006Jerome RG
A useful trick to customize the comportment of the Enter key in a Windows Forms TextBox control.
Please Sign up or sign in to vote.
2 Apr 2007c_07
Helps programmers new to Winsock start programming TCP sockets in C++
Please Sign up or sign in to vote.
23 Feb 2006Abbas_Riazi
The article is about encoding a text message for pagers using POCSAG encoder.
Please Sign up or sign in to vote.
31 Jan 2006osy
Six hints for using templates.
Please Sign up or sign in to vote.
29 Oct 2013Gabriel Szabo
C# example code for controlling Skype
Please Sign up or sign in to vote.
22 Feb 2006suggam
This header file will provide you with the smallest and simplest way to log some trace messages from your MFC application.
Please Sign up or sign in to vote.
28 Feb 20063sL
Dynamically load DLLs, configure them, and use different DLLs / stubs when unit testing and when using the production version.
Please Sign up or sign in to vote.
23 Feb 2006Nish Nishant
DimmerDialog is a .NET class that shows a modal dialog which grays out the rest of the background, just like the Windows XP Shutdown dialog. This can be used when your application needs to show a very important message box or form that requires immediate user attention.
Please Sign up or sign in to vote.
14 Feb 2006lano1106
Controlling the client view minimum size with WM_GETMINMAXINFO in MFC can be tricky. This article proposes an elegant and reusable solution to this problem.
Please Sign up or sign in to vote.
5 Mar 2006Don Laverdure
An article implementing RPN in a Pocket PC application.
Please Sign up or sign in to vote.
21 Feb 2006ophir.setter
Learning basic generic programming concepts from the STL distance function.
Please Sign up or sign in to vote.
11 Feb 2006rlisle
An introduction to using the open source Subversion SCM on Windows XP.
Please Sign up or sign in to vote.
22 Feb 2006maththaios
How to add user names to the Event Viewer.
Please Sign up or sign in to vote.
7 Jan 2012Junlin Xu
Rubber-banding with OpenGL - A utility class
Please Sign up or sign in to vote.
24 Mar 2006Douglas R. Keesler
Bitmap transparency, custom fonts, rounded rectangles, and more! Hyperlink and Shell functionality built into the class.
Please Sign up or sign in to vote.
9 Feb 2006Gary J. Kuehn
A small introduction to the Boost Bind and Function libraries.
Please Sign up or sign in to vote.
8 Feb 2006Iven Xu
Drawing a Postnet barcode based on Neil Van Eps' and Rainman_63's articles
Please Sign up or sign in to vote.
29 Mar 2006Gonzales Cenelia
This is an Eliza like chatterbot.
Please Sign up or sign in to vote.
5 Mar 2006Iain Clarke, Warrior Programmer
Ensure a window rectangle is fully on one screen.
Please Sign up or sign in to vote.
2 Feb 2006Ohad Redlich
This article explains how to get a call to a handler, when a specific popup-menu is about to be opened.
Please Sign up or sign in to vote.
20 Feb 2006Rafique Sheikh
This article describes how to modify a modal dialog's styles and position at run-time so it can work both as a child of a CPropertySheet as well as a pop-up window on its own.
Please Sign up or sign in to vote.
19 Feb 2006Ohad Redlich
This article shows you exactly how to create a COM object that uses IMessageFilter - both in client and server sides.
Please Sign up or sign in to vote.
10 Feb 2006Swarajya Pendharkar
An article on the use of shared memory and events.
Please Sign up or sign in to vote.
16 Feb 2006KoriFrancis
Using C# from Java through JNI just got a little easier to understand.
Please Sign up or sign in to vote.
22 May 2006Jun Du
This article presents a Unix-type shutdown tool for Microsoft Windows.
Please Sign up or sign in to vote.
20 Feb 2006DvssCoder
OrderResourceFile sorts the #define values in the resource.h file in alphabetical order. The #define values are also renumbered in sequence, starting with the number 1024.
Please Sign up or sign in to vote.
1 Feb 2006Ludvik Jerabek
C++ class that makes it easy to list all available display settings, and change them.
Please Sign up or sign in to vote.
2 Feb 2006NewtonVer2
Do you want to add a menu item in windows explorer's context menu? then this article will show you easy way.
Please Sign up or sign in to vote.
12 Feb 2006Gabriyel
Want a quick solution to setting up basic network communication between two machines? Check XNet out...
Please Sign up or sign in to vote.
10 Feb 2006Mockey Chen
How to record your function call stack for debug purposes
Please Sign up or sign in to vote.
14 Feb 2006Roger65
The anatomy of a bitmap.

Current Participants

Those with articles that match the contest criteria are automatically entered.

3sL
Software Developer
Netherlands Netherlands
Hi my name is Dries de Groot. I have a Masters degree in applied physics and am graduated in solid-state matter. Besides that I am a .NET Professional with scrum certificates
CEO Solaris Electronics LLC
United Arab Emirates United Arab Emirates
I was born in Shiraz, a very beautiful famous city in Iran. I started programming when I was 12 years old with GWBASIC. Since now, I worked with various programming languages from Basic, Foxpro, C/C++, Visual Basic, Pascal to MATLAB and now Visual C++.
I graduated from Iran University of Science & Technology in Communication Eng., and now work as a system programmer for a telecommunication industry.
I wrote several programs and drivers for Synthesizers, Power Amplifiers, GPIB, GPS devices, Radio cards, Data Acquisition cards and so many related devices.
I'm author of several books like Learning C (primary and advanced), Learning Visual Basic, API application for VB, Teach Yourself Object Oriented Programming (OOP) and etc.
I'm winner of January, May, August 2003 and April 2005 best article of month competition, my articles are:


You can see list of my articles, by clicking here

Web Developer
Egypt Egypt
C# C++
GDI
MFC
ASP.NET
Software Developer
Belgium Belgium
I am a former professional software developer (now a system admin) with an interest in everything that is about making hardware work. In the course of my work, I have programmed device drivers and services on Windows and linux.

I have written firmware for embedded devices in C and assembly language, and have designed and implemented real-time applications for testing of satellite payload equipment.

Generally, finding out how to interface hardware with software is my hobby and job.
United States United States
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.
Software Developer
Canada Canada
I develop truck and automotive diagnostic software
United States United States
I have no biography, but then, I don't have an obituary yet either -- Thank God!!
Engineer
United States United States
C++, MFC, ActiveX, DirectShow, GDAL
Chief Technology Officer Blendwerk TI & Media
Mexico Mexico
42
Software Developer (Senior)
Slovakia Slovakia
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.
Singapore Singapore
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.
Engineer
United States United States
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.
Software Developer
Netherlands Netherlands
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.
Help desk / Support Gexel Telecom
Canada Canada
I have been programming in C and C++ for more than four years, the first time that i had learn programming was in 1999 in college. However it was only by the year 2000 when i have buy my first computer that i had truly started to do some more interesting things in programming. As a programmer,my main interest is A.I programming. So i'm really captivated by all that is related to N.L.U (Natural Language Understanding), N.L.P (Natural Language Processing), Artificial Neural Networks etc. Currently i'm learning to program in Prolog and Lisp. Also,i'm really fascinated with the original chatterbot program named: Eliza,that program was wrote by Joseph Weizenbaum. Everytime i run this program,it makes me really think that A.I could be solve one day. A lot of interesting stuff has been accomplish in the domain of Artificial Intelligence in the past years. A very good example of those accomplishments is: Logic Programming,which makes it possible to manipulate logic statements and also to make some inferences about those statements. A classical example would be: given the fact that "Every man is mortal" and that Socrates is a man,than logically we can deduce that Socrates is mortal. Such simple logical statements can be wrote in Prolog by using just a few lines of code:

prolog code sample:

mortal(X):- man(X). % rule
man(socrates). % declaring a fact

the preceding prolog rule can be read: for every variable X,if X is a man than X is mortal. these last Prolog code sample can be easily extented by adding more facts or rules,example:
mortal(X):- man(X). % rule
mortal(X):- woman(X). % rule
man(socrates). % fact 1
man(adam). % fact 2
woman(eve). % fact 3

for more, check: https://cenelia7.wixsite.com/programming
ai-programming.blogspot.com
Software Developer (Senior)
Sweden Sweden
I have now moved to Sweden for love, and recently married a lovely Swede.


-----------------
I started programming on BBC micros (6502) when I was six and never quite stopped even while I was supposed to be studying physics and uni.

I've been working for ~13 years writing software for machine control and data analysis. I now work on financial transaction transformation software, for a Software company in Gamlastan, Stockholm.
Look at my articles to see my excellent coding skills. I'm modest too!
Web Developer
China China
My home page: http://www.xtrafinal.com
Web Developer
Germany Germany
Jerome RG studied Computer Science in France and Germany. He obtained a Master Degree in Computer Science of the Technical University of Berlin. In September 2005, he built with two colleagues a company developing IT Solutions for aeronautics.
Software Developer (Senior)
Spain Spain
Javier Jimenez Shaw. Born in Madrid in 1975. Civil engineer, is working developing financial algorithms for exotic products.
Architect GuestLogix Inc.
Canada Canada
Jun is an experienced software architect. He wrote his first computer code on the tape machine for a "super computer". The tape machine reads holes on the black pape tape as source code. When manually fixing code, you need a punch and tranparent tape. To delete code, you block holes or cut off a segment and glue two ends together. To change code, you block old holes and punch new holes. You already know how to add new code, don't you? Anyway, that was his programming story in early 1980's.

Jun completed university with the specialty in oceanography, and graduate study in meteorology. He obtained his Ph.D. in physics. Jun has worked in a number of different areas. Since mid-90's, he has been working as a software professional in both military & commercial industries, including Visual Defence, Atlantis Systems International and Array Systems Computing.

Currently, Jun is an architect at GuestLogix, the global leader in providing onboard retail solutions for airlines and other travel industries. He is also the founder of Intribute Dynamics, a consulting firm specialized in software development. He has a personal blog site, although he is hardly able to keep it up to date.

In his spare time, Jun loves classic music, table tennis, and NBA games. During the summer, he enjoyes camping out to the north and fishing on wild lakes.
President Computations & Graphics, Inc.
United States United States
Junlin Xu is the founder of Computations & Graphics, Inc. (http://www.cg-inc.com). He is the author of Real3D finite element package, SolverBlaze finite element SDK, OpenGraph Library (OpenGL-based visualization and charting SDK for native and .NET environment), and double128 SDK (quad precision floating point math for C++ and .NET).

Junlin has 20+ years software development experiences in various industries. He has skills in Windows desktop and web application development using C++, C++/CLI, C#, Qt, MFC, STL, OpenGL, GLSL, COM/COM+, WinForms, MS SQL, MySQL, ASP.NET and .NET Core, CSS, jQuery and jQuery UI, Autodesk Revit API, Inno Setup. He is also an expert in mathematical, CAD and algorithmic software development.
Web Developer
Canada Canada
I'm current a 3rd year Computer Engineering Technology : Software Developer student at St. Lawrence College in Kingston, Ontario.

I usually get myself into some of the more cool projects like neural nets or cross platform applications.
Web Developer
Canada Canada
I'm located in Montreal,Canada and I graduated in electrical engineering at E.T.S.

Highly experienced C++ developer. I have been working 3 years at Nortel Networks on their Next-gen OC-768 products firmware. I then worked for the FAA 3 years on their next-gen Oceanic Air Traffic Control system. Followed by a short period in the video game industry at Quazal, the online multiplayer middleware provider and now I am in the Internet audio/video streaming business at StreamTheWorld.

To contact me, visit my website
Software Developer
United States United States
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.
Web Developer
Belgium Belgium
I graduated at the university of Ghent (Belgium) in 1994, after which I started working at Sophis Systems. I was responsible for the colour quality of the software for textile design, which meant implementing sophisticated mathematical algorithms. In 1998 I joined Dekimo, where I wrote software for processing documents and some other things. In 2000 I joined Applied Maths, where I wrote mathematical algorithms for biological research. Now I have my own company, developing software for unit testing.
Software Developer (Senior)
United States United States
I am a computer programmer in Florida.
Software Developer (Senior) VMware
United States United States
Michael lives in sunny Mountain View, California. He started programming with an Apple //e in 4th grade, graduated from UCLA with a math degree in 1994, and immediately landed a job as a QA engineer at Symantec, working on the Norton AntiVirus team. He pretty much taught himself Windows and MFC programming, and in 1999 he designed and coded a new interface for Norton AntiVirus 2000.
Mike has been a a developer at Napster and at his own lil' startup, Zabersoft, a development company he co-founded with offices in Los Angeles and Odense, Denmark. Mike is now a senior engineer at VMware.

He also enjoys his hobbies of playing pinball, bike riding, photography, and Domion on Friday nights (current favorite combo: Village + double Pirate Ship). He would get his own snooker table too if they weren't so darn big! He is also sad that he's forgotten the languages he's studied: French, Mandarin Chinese, and Japanese.

Mike was a VC MVP from 2005 to 2009.
China China
Mockey is a C++ programmer, experienced with C/C++ program under UNIX platform, his primarily research field is communication program for telecom. He works for one of china's biggest telecom equipment supplier until Dec 2006.

He's current interest is Linux kernel programming, especial in networking hack.

Mockey lives in Chengdu, China. To contact Mockey, email at mockey.chen@gmail.com
United States United States
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.
Web Developer
India India
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.
United States United States
Nish Nishant is a technology enthusiast from Columbus, Ohio. He has over 20 years of software industry experience in various roles including Chief Technology Officer, Senior Solution Architect, Lead Software Architect, Principal Software Engineer, and Engineering/Architecture Team Leader. Nish is a 14-time recipient of the Microsoft Visual C++ MVP Award.

Nish authored C++/CLI in Action for Manning Publications in 2005, and co-authored Extending MFC Applications with the .NET Framework for Addison Wesley in 2003. In addition, he has over 140 published technology articles on CodeProject.com and another 250+ blog articles on his WordPress blog. Nish is experienced in technology leadership, solution architecture, software architecture, cloud development (AWS and Azure), REST services, software engineering best practices, CI/CD, mentoring, and directing all stages of software development.

Nish's Technology Blog : voidnish.wordpress.com
CEO Aspen Insights
United States United States
Walter Storm is currently doing quantitative research and data science. Originally from Tunkhannock, PA., he has a B.S. in Aerospace Engineering from Embry-Riddle Aeronautical University[^], and an M.S. in Systems Engineering from SMU[^]. He has been professionally developing software in some form or another since January of 2001.

View Walter Storm's profile on LinkedIn.[^]
Israel Israel
working for Intel

My Linkedin Profile

Visit my photography gallery
Web Developer
Israel Israel
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.
osy
Software Developer (Senior)
Switzerland Switzerland
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.
President
Canada Canada
Father of two, brother of two, child of two.
Spouse to one, uncle to many, friend to lots.
Farmer, carpenter, mechanic, electrician, but definitely not a plumber.
Likes walks with the wife, board games, card games, travel, and camping in the summer.
High school graduate, college drop-out.
Hobby programmer who knows C++ with MFC and the STL.
Has dabbled with BASIC, Pascal, Fortran, COBOL, C#, SQL, ASM, and HTML.
Realized long ago that programming is fun when there is nobody pressuring you with schedules and timelines.
Global Cybersoft (Vietnam)
Vietnam Vietnam
Quynh Nguyen is a Vietnamese who has worked for 7 years in Software Outsourcing area. Currently, he works for Global Cybersoft (Vietnam) Ltd. as a Project Manager in Factory Automation division.

In the first day learning C language in university, he had soon switched to Assembly language because he was not able to understand why people cannot get address of a constant as with a variable. With that stupid starting, he had spent a lot of his time with Assembly language during the time he was in university.

Now he is interesting in Software Development Process, Software Architecture and Design Pattern… He especially indulges in highly concurrent software.
Software Developer
United States United States
Although an electrical engineer by major, I slowly transformed into a software developer as I realized I liked working with logical AND and ORs more than the physical ones on chips. I have taught C++ at ITT tech and worked on videoconferencing as a programmer. A summer class at Harvard got me into windows programming and I have enjoyed it ever since.

I like hiking, camping, walking and swimming. Tennis gets me going too as does discussing human psychology.
Software Developer (Senior)
United States United States
Ron is a senior software engineer.
His hobbies include riding motorcycles, travel, and scuba diving.

He enjoys learning about science, particularly quantum physics and cosmology.

He is active with his church where he plays drums and keyboards with the contemporary church band each week.
He also designed and maintains his church and band websites (http://TheRockUMC.org and http://TheRockBand.org).
United States United States
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.
Hong Kong Hong Kong
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.
Publisher
Poland Poland
Software Developer's Journal (formerly Software 2.0) is a magazine for professional programmers and developers publishing news from the software world and practical articles presenting very interesting ready programming solutions. To read more
Web Developer
United States United States
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.
Software Developer (Senior)
India India
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.
China China
ZengXi is a SOHO guy. Her expertise includes ATL, COM, Web Service, XML, Database Systems and Information Security Technology. Now she is interested in Instant Messages softwares. She also enjoys her hobbies of reading books, listening music and watching cartoons.
You must sign in to participate in this contest.
This contest has ended.
1 Feb - 1 Mar 2006