Click here to Skip to main content
15,890,043 members
This competition has ended

Best C++/MFC article of October 2010

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.

Please Sign up or sign in to vote.
15 Oct 2010Ger Hayden
C++ DateTimePicker in DataGridView
Please Sign up or sign in to vote.
21 Oct 2010Aescleal
printf is so 1980s. If you don't want to dig out your shoulder pads and big hair why not go for a more modern C++ approach?Instead of a function try a stream buffer:class message_box_stream_buf : public std::basic_streambuf{ public: message_box_stream_buf( const...
Please Sign up or sign in to vote.
28 Oct 2010Paul Heil
A look at the undocumented message hook functions for Windows Mobile
Please Sign up or sign in to vote.
14 Oct 2010InActive
How to use the .NET DateTime class in C++ to generate a basic calendar via a console program
27 Oct 2010manythreads
In his second tutorial, GPGPU expert Rob Farber discusses OpenCL™ memory spaces and the OpenCL memory hierarchy, and how to start thinking in terms of work items and work groups. This tutorial also provides a general example to facilitate experimentation with a variety of OpenCL kernels.
Please Sign up or sign in to vote.
8 Oct 2010kb-boxer
Extension methods - a polished C++ feature
Please Sign up or sign in to vote.
19 Oct 2010federico.strati
I always use a somewhat different approach, here is a class"consumer" that has embedded the thread call in a member function,the member function runs a virtual call, hence the derived classesmay implement functionality as well as passing arguments asmember data of the class. Maybe you're...
Please Sign up or sign in to vote.
3 Oct 2010Abhijit Jana
Different Versions of Integrated Web Server in Visual Studio 2010
Please Sign up or sign in to vote.
11 Oct 2010IanJ1965
Home built joystick type radio control transmitter based on Arduino
Please Sign up or sign in to vote.
25 Jun 2011Elmar de Koning
A generic C++ implementation for n-dimensional Douglas-Peucker approximation
Please Sign up or sign in to vote.
24 Oct 2010Stephen Wiria
Adding native Windows Ribbon Framework in Win32 C Application (NO MFC OR ATL)
Please Sign up or sign in to vote.
1 Nov 2010Sharjith
Article showing how to write OS and GUI toolkit portable OpenGL view class
Please Sign up or sign in to vote.
26 Oct 2010Snorri Kristjansson
XeScrollBar - Custom scroll bar, a replacement for Windows scroll bar
Please Sign up or sign in to vote.
22 Oct 2010Mustafa Chelik
Play XM music files in pure C++ using unpacked BASSMOD.dll from file and memory
Please Sign up or sign in to vote.
24 Apr 2019QxOrm
QxOrm C++ library: Persistence (based on QtSql Qt library) - Serialization (based on boost::serialization library) - Reflection (introspection)
Please Sign up or sign in to vote.
13 Jul 2011Amro Ibrahim
3G Modem Internet Dialer
Please Sign up or sign in to vote.
18 Oct 2010ccoale427
C#-Style Properties in C++
Please Sign up or sign in to vote.
7 Oct 2010Venkat Varagani
Addresses the problems related to unavailability of service provided by the system or the program
Please Sign up or sign in to vote.
20 Oct 2010Ajay Vijayvargiya 1 alternative  
Need to Format/sprintf a string before displaying a messagebox? Here is solution!
Please Sign up or sign in to vote.
18 Oct 2010Vsevolod Belousov
In this article I explain how to embed presentation player into a WPF application and describe the way this solution was found
Please Sign up or sign in to vote.
11 Jan 2011Dennis Dykstra
Enabling font and formatting changes in the MFC hyperlink control
Please Sign up or sign in to vote.
19 Oct 2010"Fish" (David B. Trout)
Simple parsing of VS_VERSIONINFO version information strings displayed in an XP-style file-properties "Version" tab
Please Sign up or sign in to vote.
1 Oct 2010Sauro Viti
The C++ comes with a rich standard library: the STL (Standard Template Library).So, why we should re-invent the wheel while we already have it done, safe and written to be light-weighed and performant?It's too much better to use the vector Class (Standard C++ Library)[^]:#include...
Please Sign up or sign in to vote.
28 Oct 2010federico.strati
This is a standard Windows / C++ implementation of a multi-threaded queue.
Please Sign up or sign in to vote.
18 Oct 2010Eugene Kordin, Apriorit Inc
How to detect device changes in the user-mode applications for Windows
Please Sign up or sign in to vote.
16 Jul 2011JAMcLaughlin
Embedding a webserver in your C++ application using the Lacewing networking library
Please Sign up or sign in to vote.
11 Oct 2010Mukit, Ataul
An alternate way to implement interface through aggregation rather than the usual way we know as inheritence
Please Sign up or sign in to vote.
6 Oct 2010Ajay Vijayvargiya
The never ending 'How do I find' article. Will be updated regularly!
Please Sign up or sign in to vote.
25 Oct 2010Ivan Krivyakov
MessageBoxes and worker threads
Please Sign up or sign in to vote.
13 Oct 2010Ajay Vijayvargiya 1 alternative  
Wouldn't be easier if you just pass a simple function to your favourite thread creation function? Read on!
Please Sign up or sign in to vote.
22 Oct 2010headmyshoulder
The article explains a method, how flexible and extendible decorator chains can be built in a generic way. Its power is best seen if it is used with boost::factory and boost::bind.
Please Sign up or sign in to vote.
20 Oct 2010Sabarinathan A
The primary purpose of a Parameterized View lets you retrieve PL/SQL record collection structures in a SQL context.
Please Sign up or sign in to vote.
30 Oct 2010federico.strati
An MFC Windows program related to Concave Diffraction Gratings using VTK libraries.
Please Sign up or sign in to vote.
3 Nov 2010AlexanderGorobets
The article describes a technique for using C++ templates for general startup validation purposes.
Please Sign up or sign in to vote.
3 Jul 2011Mark Babayev
This article shows how to overcome the InstallScript limitations and to add to it new capabilities inherent in the C/C++ code.
Please Sign up or sign in to vote.
11 Oct 2010b4rc0ll0
A useful launcher for JAR executable files, with Splash Image function
Please Sign up or sign in to vote.
21 Oct 2010bleedingfingers
A simple utility class that helps maintain one instance of your application and allows other instances to transfer the data processing to it before they close
Please Sign up or sign in to vote.
12 Oct 2010va_dev
This article explains how to implement a relatively eternal process.
Please Sign up or sign in to vote.
3 Nov 2010AlexanderGorobets
The article describes a technique for using C++ templates for validation of SQL statements used in C++ code
Please Sign up or sign in to vote.
25 Oct 2010User 26942
You could use internal and external include guards in your headers. This reduces compile time dramatically.
Please Sign up or sign in to vote.
7 Nov 2010TomSeaton
#include

Current Participants

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

Software Development Laboratories
United States United States
Old timer with over 30+ years experience in the industry.

Started out programming in assembler on IBM mainframes working my way up from novice computer operator to manager of programming department responsible for multi-million-record database updating software for a major credit reporting company, eventually becoming part of a small team responsible for designing/developing a new microprocessor operating system.

Made the transition from IBM mainframes to Windows personal computers in the early '90s when the internet was still young. Started programming on Windows with Visual C++ version 1.0 on Windows 3.1. Currently using VS2005 but plan to upgrade to VS2008 "soon".

Contracted for a short while at Microsoft providing Premier Technical Support for the "Desktop Team 3" (VC++/MFC).

Currently part of the "Hercules" Open Source core development team, allowing me to stay active in both the mainframe area (which is most definitely NOT dead but still VERY much alive and well thankyouverymuch) as well as in the Windows programming area too (which seems to be a good fit for someone with my background).

I'm currently self-employed providing per-hour contract support for Hercules (http://www.hercules-390.org).
Technical Lead
India India
.NET Consultant | Former Microsoft MVP - ASP.NET | CodeProject MVP, Mentor, Insiders| Technology Evangelist | Author | Speaker | Geek | Blogger | Husband

Blog : http://abhijitjana.net
Web Site : http://dailydotnettips.com
Twitter : @AbhijitJana
My Kinect Book : Kinect for Windows SDK Programming Guide
Software Developer (Senior)
United Kingdom United Kingdom
I've been programming since 1985 - starting with Fortran 77, then moving onto assembler, C and C++ in about 1991. I also know enough Java and Python to read code but you probably wouldn't want me writing it.

I've worked in a wide variety of application areas - defense, banking, games and security with the longest stints being in security. I also seem to end up programming devices far too often. This time I'm programming terahertz band body scanners.
Software Developer (Senior)
India India
Started programming with GwBasic back in 1996 (Those lovely days!). Found the hidden talent!

Touched COBOL and Quick Basic for a while.

Finally learned C and C++ entirely on my own, and fell in love with C++, still in love! Began with Turbo C 2.0/3.0, then to VC6 for 4 years! Finally on VC2008/2010.

I enjoy programming, mostly the system programming, but the UI is always on top of MFC! Quite experienced on other environments and platforms, but I prefer Visual C++. Zeal to learn, and to share!
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.
Software Developer
United States United States
I love coding with C++. I always split my free time between coding and gaming Smile | :)
Engineer n
Italy Italy
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.
Afghanistan Afghanistan
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.
Instructor / Trainer
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)
United States United States
No, I don't often wear a tie.
Software Developer Optiver
Netherlands Netherlands
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.
Software Developer ApriorIT
Ukraine Ukraine
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.
Software Developer (Senior)
Italy Italy
Senior Software Developer in C/C++ and Oracle.
Ex-physicist holding a Ph.D. on x-ray lasers.
Software Developer
Ireland Ireland
My first program was written in Basic on a Sinclair Spectrum ZX 16K in the summer of '85. Having studied Computer Systems I attempted to break into the world of C but took a wrong turn and got immersed in COBOL!

I looked a C again in 1994 but didnt follow up on it. In 2001 I introduced myself to Visual C++ 6.0 courtesy of Ivor Hortons book, but found the going difficult. I tipped my toe in the .NET water in '05 but the first example I tried in VC++ 2005 express didnt work and allied with the absence of MFC in the express package, I parked that up.

Along the way my career got shunted into software testing

A personal machine change force me to migrate to VS2008 in 2008. The new edition of Ivor Hortons book for VC++ in VS2008 reintroduced me to .NET and I got curious whereupon I went out and acquired Stephen Fraser's "Pro Visual C++/CLI and
the .NET 3.5 Platform". I was hooked!

After 20 years I think I finally found my destination.

But it would take a further 8 years of exile before I was reappointed to a developer role. In that time I migrated to C# and used selenium wedriver (courtesy of Arun Motoori's Selenium By Arun) as the catalyst to finally grab the opportunity.
Germany Germany
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.
Engineer IanJ Eng. Ltd.
United Kingdom United Kingdom
Have been in the Oil patch since 1984.

Working for Rigserv Ltd. spent the early years as a W/Shop Technician building Drilling Controls (electronics). From there moved on to W/Shop supervisor, Technical Support Group Leader, R&D Engineer and then R&D Manager in charge of all the company's hardware/software design and which included looking after the software engineers.

In 2005 I took a desk job as contractor for Apache North Sea.

Electronics & software coding is now just a hobby.
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.
Technical Lead Thomson Reuters
United States United States
Ivan is a hands-on software architect/technical lead working for Thomson Reuters in the New York City area. At present I am mostly building complex multi-threaded WPF application for the financial sector, but I am also interested in cloud computing, web development, mobile development, etc.

Please visit my web site: www.ikriv.com.
Software Developer
United Kingdom United Kingdom
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.
Architect
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.
United States United States
Rob Farber is a senior scientist and research consultant at the Irish Center for High-End Computing in Dublin, Ireland and Chief Scientist for BlackDog Endeavors, LLC in the US.

Rob has been on staff at several US national laboratories including Los Alamos National Laboratory, Lawrence Berkeley National Laboratory, and at Pacific Northwest National Laboratory. He also served as an external faculty member at the Santa Fe Institute, co-founded two successful start-ups, and has been a consultant to Fortune 100 companies. His articles have appeared in Dr. Dobb's Journal and Scientific Computing, among others. He recently completed a book teaching massive parallel computing.
Software Developer (Senior)
Israel Israel
Working with .NET since 2005
Expertise in developing tools and services for SharePoint, TFS, BI/SSRS
Technical partner in start-up developing Outlook Add-ins.
Owning CodePlex projects:
http://extreportviewer.codeplex.com/
http://tfsprod.codeplex.com/
http://tfsspconnect.codeplex.com/
Technical Lead Kotha Technologies
Bangladesh Bangladesh
If you are not in - you are out !
- Chapter 1
Software Developer (Senior)
Turkey Turkey
I began programming in Visual Basic 6.0. Coded applications in various branchs. Then, learned C programming language in university and deeply loved it. Now, I develop Win32 and MFC applications in native and pure C++.
Software Developer (Senior) An engineering firm in Cedar Rapids, Iowa
United States United States
I'm also on the MSDN forums
http://social.msdn.microsoft.com/profile/paulh79
France France
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.
Architect
India India
I have been programming for last 20 years on various platforms including .NET, Visual Basic 6, Oracle and SQL server.

I decided to write articles when I have free time hoping to share my thoughts with you.

To know more about me visit http://sabarinathanarthanari.com
Engineer Cutlite Penta S.r.l.
Italy Italy
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.
Product Manager Mahindra & Mahindra
India India
Sharjith is a Mechanical Engineer with strong passion for Automobiles, Aircrafts and Software development.
Software Developer (Senior) Kvikna.com
Iceland Iceland
I started programming back in 1980, briefly in Basic, switched to Assembler (Z80 CPU) running CP/M OS. Started to program for MS-DOS in Assembler (8088 CPU) when the IBM PC made it's apperance. Switched to C when I started to write programs for Windows in 1991. In 2002 switched to C++ and MFC. In 2011 started developing in C# .NET for Sharepoint 2010. In 2016 started developing WPF applications.
Software Developer
Indonesia Indonesia
A caffeine junkie who found SMSbox and SMStron.

Obsessed with the words:
"Me today, you tomorrow"
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
Germany Germany
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.
Software Developer
Russian Federation Russian Federation
Professional Windows/Java Mobile/Web-applications developer since 2000.
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.
Software Developer (Senior) Luxoft Professional, Deutsche Bank ODC
Russian Federation Russian Federation
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.
You must sign in to participate in this contest.
This contest has ended.
1 Oct - 31 Oct 2010