Click here to Skip to main content
15,888,351 members
Everything / Desktop Programming / MFC

MFC

MFC

Great Reads

by Hans Dietrich
XQueue implements a shared-memory first-in first-out (FIFO) queue, based on memory-mapped files, that works on all versions of Windows.
by Paul Vickery
Code to add a message bar to virtually any existing Windows control.
by Hans Dietrich
This series of articles is a step-by-step guide to reading files stored in your program's resources. Along the way I will present some non-MFC classes to assist you in reading text, binary, zip, and even encrypted files that have been compiled into your program as resources.
by Paul M Watt
Guide to understanding how to create and use regions with the WIN32 SDK

Latest Articles

by Ștefan-Mihai MOGA
Task Manager shows you the programs, processes, and services that are currently running on your computer. You can use Task Manager to monitor your computer’s performance or to close a program that is not responding.
by Ștefan-Mihai MOGA
This article is about the IntelliFile application which is a free alternative Windows version to Total Commander and uses many components that have been published on CodeProject.
by Ștefan-Mihai MOGA
An alternative Windows version to XML Sitemap online generators
by PJ Arends
An MFC CWnd derived grid of user definable tiles

All Articles

Sort by Updated

MFC 

25 Nov 2010 by Abhijit Jana
How to Use ASP.NET “Property Pages” to create or host a Silverlight application in ASP.NET Site?
4 Jun 2015 by abin jaik
Office 365 Video & Office 365 APIs
8 Dec 2015 by Afzaal Ahmad Zeeshan
I was compiling a few things I would recommend to every beginner in computer programming. Here it is.
12 Nov 2013 by Alexander Golde
Meta Programming is a concept that dates back to languages such as LISP or Smalltalk. The term is used for programs that write or modify other programs – or perform operations on themselves.
12 Dec 2014 by Alexander Golde
Meta Programming is a concept that dates back to languages such as LISP or Smalltalk. The term is used for programs that write or modify other programs – or perform operations on themselves.
1 Feb 2011 by AlexCode
Image Sprites and CSS Classes creator
11 Mar 2012 by AlexTatiyants
Functional programming has been all the rage lately, yet surprisingly few have heard about an intriguing alternative known as Dysfunctional (or FUctional) programming.
18 Jul 2016 by Andrei Ion Rînea
Having fun with HTML 5 History API – part two
18 Jul 2016 by Andrei Ion Rînea
Having fun with HTML5 History API - Part One
22 Jul 2016 by Andrei Ion Rînea
Having fun with HTML 5 history API - Part 3
13 Sep 2010 by Andrey Permamedov
The bug in MFC tool tip control
16 Nov 2015 by Andy Feng
Improve CSS Development Productivity using Sass and Compass Part 1 - Configure Environment
25 Nov 2016 by Andy Point
How to create Android Navigation Bar Menu using Bottom bar Library
2 Oct 2012 by Anuraj Parameswaran
A very simple and lightweight collaboration white board using HTML5 canvas API, JQuery and SignalR
18 Apr 2017 by Aoi Karasu
Referring to a property via a string containing its name
17 Aug 2009 by Arindam Sinha
SOAP Request/Response XML can be logged with TraceExtension
7 Oct 2013 by Arpit Jain
This article explains how to upload a file using HTML 5 and JavaScript.
12 Aug 2014 by Ben Liebert
Here is a step by step guide to building a cross-platform application in HTML, CSS and JavaScript
17 Aug 2014 by Ben Liebert
How to architect CSS
11 Feb 2013 by Benaiah Mischenko
Ever want to create beautiful gilding beside your text with CSS? (Here’s a demo, if you’re in a modern browser) It’s actually quite easy. Here’s how… First, some simple HTML. I’ll just give you this one: Concept 1 Minstrel Then, you need [...]
20 Mar 2014 by Bibhu Dutta
Lately, I was in conversation with our QA lead, which made us realize of an issue that, certainly will cause inconvenience to the end users of the web application on which we are working on. Although the issue is very … Continue reading →
26 Jul 2015 by Camilo Reyes
High Performance HTML Forms
30 Sep 2015 by Camilo Reyes
The word “modern” gets thrown around a lot in UI design. I feel like it often gets misinterpreted into meaning whatever you want. To add to the confusion, a quick look in the dictionary defines modern as.
22 Jan 2010 by Charles Boyung
This is the third part in my series on programming for performance.
2 Jun 2015 by Chris Boss
Lessons learned from legacy Windows programming
2 Feb 2018 by Chris Boss
The elusive Control Spy utility is a WIN32 programmers friend. Control Spy is a unique set of examples of how the common controls work when writing software using the WIN32 API. The last version I personally downloaded was the 2.
8 Apr 2016 by Codeman the Barbarian
Embedded Programming – Getting Started With the Netduino - Part 2
8 Dec 2011 by danielthesolver
HTML5 is the next major revision of the html standard. If all works well, it should become the dominant markup in the nearest future ousting both html4 and xhtml1 from their cozy locations. A lot of people say HTML5 is the next big thing. In some sense, yes. But in another no.
8 Dec 2011 by danielthesolver
The usefulness of Regexes (Regular Expressions) is ineffable. Especially in parsing documents, it’s a well-suited and indispensable tool.
15 Jul 2010 by DareenH
The Xdebug extension helps you debugging your script by providing a lot of valuable debug information.Before you install xdebug you should have PHP5 and Apache2 already working properly.
7 Jan 2016 by Dave Ceddia
Escape or sanitize HTML in Angular
24 Mar 2016 by Dave Ceddia
CSS transitions explained
10 Oct 2017 by Dave Kerr
In this article, I'll show you how you can use the shell as an efficient tool to compliment how you use the clipboard.
22 Jun 2014 by Deepak-VS
DataGridView – Stacked Header – Export to HTML/Excel
18 Sep 2015 by Dmitriy Kozlov
Forms Designer has just gotten a new feature: the related items control is now able to do inline spreadsheet-style quick editing. This feature is supported in SharePoint 2013 and SharePoint Online in Office 365.
2 Nov 2015 by Duleeka Gunatilake
The HTML tag is intended to embed an inline frame within an HTML document. This article explores the possibility to inject HTML content from the same source to the inline frame.
21 Aug 2014 by Edison Heng
Networking and Socket programming tutorial in C.
30 Sep 2015 by Eric Anderson IO
With the Apple watch coming soon there has been an influx of new iOS developers. Because of this I keep seeing the same type of conversations and pull requests centered around this one topic property attributes.
16 Oct 2014 by Gaurav Aroraa
In our previous posts we learned ‘What is S.O.L.I.D. Programming Principles and a detailed explanation with code of Single Responsibility Principle, Open/closed Principle, Liskov Substitution Principle and Interface Segregation Principle.
16 Oct 2014 by Gaurav Aroraa
History: In our previous posts we learned ‘What is S.O.L.I.D. Programing Principles’ and a detailed explanation with code of Single Responsibility Principle and Open/closed Principle. S.O.L.I.D. is an acronym introduced by Michael Feathers as: 1.
5 Feb 2015 by Grant Curell
This code is for Python 3. I was surprised to discover that I couldn’t really find a good way to do this when I Googled for a solution. I just kept getting results for Google’s youtube API, which is great… but also massive overkill for what I wanted to do.
25 Aug 2010 by HelgeKlein
How to enable drag and drop for an elevated MFC application on Vista/Windows 7
27 Dec 2014 by HeWillem
WPF TabControl Focus Behavior with Invisible Tabs (MVVM)
14 Sep 2015 by Imran Abdul Ghani
There are several ways a user can add audio or video clips to a SharePoint page when editing the page in browser. Here we are going to discuss the following ways to embed a video to SharePoint. We will follow a step by step approach to achieve the desired output.
25 Oct 2010 by Ivan Krivyakov
MessageBoxes and worker threads
31 Oct 2013 by James Carr (Crashcarr)
The results have been pleasantly surprising in adding additional functionality to Notes and SharePoint.
15 Jul 2015 by Jamie Munro
This is the first article to follow-up on my why "Why Is Internet Explorer Better?".Today's article is going to discuss how Internet Explorer deals with margins.
1 Oct 2012 by Jason N. Gaylord
HTML5 will introduce many new and exciting features including the addition of geolocation. Geolocation allows a device to determine a global position of the device (latitude and longitude), it’s accuracy (horizontal accuracy and vertical accuracy), altitude, and speed.
8 Apr 2009 by Jim Crafton
How to work with delegates in Visual Form Files.
11 May 2015 by John Bhatt
Accordion Panel with CSS
4 Jul 2012 by Jonathan Wood
Getting accelerators to work in a dialog box.
4 Jul 2012 by Jonathan Wood
How to read and write CSV files in MFC
22 Jul 2011 by João Paulo Figueira
An alternative way to create the menu bar
10 Jul 2011 by Kunal Chowdhury «IN»
Organizing custom control properties inside Visual Studio and Expression Blend
12 Dec 2012 by Leland Richardson
HTML-based emails are one of those evil things in the life of a web-developer that we would all rather never have to do... but alas, it needs to be done.
11 Feb 2013 by Luis D. Aguilar
Functional programming is a programming paradigm that treats application operations as a sequential execution of functions.
8 Mar 2015 by M.Hussain.
This post is about conversion of HTML to PDF in ASP.NET using a free third party library (nReco htmltopdf) and exe (wkhtmltopdf).
5 Oct 2012 by Marius Bancila
A tale of two flags: DS_CONTROL and WS_EX_CONTROLPARENT
29 Jul 2011 by Melick
User profile synchronization service starting issues
20 Sep 2013 by Melick
Format text out as a table (format-table) in PowerShell
27 May 2011 by Member 7950660
Threads and a Bicycle-built-for-two
25 Feb 2010 by micahs
What does it take to be an Object Oriented Programmer?
26 May 2010 by MobileAppMastery
Top 5 Must Know Variable Types For iPad (& iPhone) Programming
16 Sep 2009 by Mohamed M. Shaheen
This blog has been contributed to Forum Nokia Wiki at http://wiki.forum.nokia.com/index.php/How_to_make_Video_splash In those a few lines you will find a code of how to create easy startup splash screen that can play video files of any format (GIF,AVI,mpg,3gpp,real etc..)video splash classpack
25 Jul 2014 by Mohamed Taman
Understanding lambda expressions....This article of the “Java SE 8 new features tour” series will deep dive into understanding Lambda expressions. I will show you a few different uses of Lambda Expressions. They all have in common the implementation of functional interfaces.
18 Mar 2010 by Mohammad Elsheimy
Learn how to create your CWinApp::OnIdle in C
18 Mar 2010 by Mohammad Elsheimy
Convert colors to gray shades, detect Print Preview mode, and detect Black-and-White printers
18 May 2013 by n.podbielski
A better algorithm for finding UpdatePanel that will be updated during page request
18 Aug 2015 by nirman b doshi
MVC attribute to restrict users to enter any kind of HTML tags in the input fields
28 Apr 2014 by Nitesh Kejriwal
How to create a Hierarchical Menu using HTML, CSS and jQuery
6 May 2014 by Nitesh Kejriwal
Friends, In many websites having long contents we have seen a “Back To Top” or “Scroll To Top” button when clicked takes you to the top of the webpage. We see this kind of feature normally on the product listing pages of e-commerce websites.
12 Mar 2010 by Nizar Noorani
We recently ran into a challenging design issue at work...
23 Dec 2013 by Paul M Watt
Template meta-programming is the practice of using templates to generate types and functions to perform computations at compile-time and generate programs.
5 Jun 2015 by Paul M Watt
C++: Template Meta-Programming 2.0
18 Apr 2010 by Paulo Morgado
The major feature of C# 4.0 is dynamic programming - not just dynamic typing, but dynamic in a broader sense, which means talking to anything that is not statically typed to be a .NET object.
22 Dec 2017 by Philipp_Engelmann
How to implement state management to switch from the title screen to the playing-screen, add a player-controlled ship-class and finally some invaders for the player to fight.
25 Nov 2013 by pi19404
This article describes basic concepts of C++ Storage Access Specifiers.
25 Jun 2013 by Pragmateek
Introduction The following article is my response to “John” comment on my other post about native C++/C# interop using C++/CLI. The initial request was rather simple: for whatever reason John wanted to use the C++/CLI wrapper from Python and not … Continue reading →
7 Oct 2014 by Prava-MFS
CSS: Custom HTML5 Form Validation with Visual Effects using Pseudo Class
28 Dec 2014 by Prava-MFS
As we all know about CSS (Cascading Style Sheets) is a language used for styling the web pages written in HTML, XML or XHTML. In CSS, selectors play a vital role to declare which part of the web page, the style applies to and it is done by matching the tags or attributes present in […]
31 Aug 2015 by Prava-MFS
Hello everyone, today I am going to share one basic thing, which you all may know about it. I am going to explain how can we create numbered list using CSS. So, let’s go through it quickly without wasting much of our time :). HTML provides us few ways of creating lists.
12 May 2016 by Prava-MFS
CSS: Nested Selector vs Modular Selector
5 Sep 2010 by rudigrobler
Who's the boss?
9 Apr 2009 by Sacha Barber
I was working on something for an upcoming article that I am writing where I am messing around with 3D, and I was having a small issue with a VisualBrush (something to do with Freezable, I never did quite figure it out and came up with a better solution), but along the way of trying [...]
12 May 2010 by Sarath C
Simple method to display progressbar over taskbar button
24 Sep 2010 by Sarath C
In this installment, let’s cover basic primitives. The basic primitives are the mostly used shapes like lines, rectangle, rounded rectangle, circle etc.
4 Jan 2011 by sashan govender
This was a program I wrote a while ago (2003) to demonstrate what can be done with template metaprogramming in C++.
16 Jun 2015 by Sibeesh Passion
Sort a JSON Array Programmatically by a Property
13 Aug 2015 by Sibeesh Passion
Export Hierarchical (Multi-Level) HTML Table With Styles Using jQuery
29 Sep 2015 by Sibeesh Passion
In this post we will discuss how we can apply CSS important in JQuery. We all know that we can not apply a important CSS property directly to an element. It does not work. But still there is a solution for that. Here I am going to share you that. I hope you will like […]
6 Nov 2014 by Stephen C Young
Functional Programming
1 Apr 2009 by Steve Wellens
On the ASP.NET forums where I moderate, the poster's IP address is displayed at the bottom of the post. Often I am curious and paste the poster's IP address into an IP locator web page to find out where they are posting from. This was tedious.
8 Apr 2009 by Steve Wellens
Being on the software "bleeding edge" is similar to being the "point man" in combat. I generally avoid being the first to adopt new technology until some other poor bastard has led the way…and occasionally paid a price: The price being missed deadlines, ulcers and ruined reputations. No thanks.
2 Apr 2009 by Steve Wellens
It's possible you may develop dozens of web sites without ever doing any data caching. However, if you are trying to increase performance, data caching can be a key tool. The Asp.Net Cache object is remarkably easy to use, but it has many settings which makes it extremely powerful.
25 Mar 2012 by stoimenpopov
Quicksort is a very elegant general purpose sorting algorithm and every developer should be familiar with its principles.
16 Sep 2010 by Syed Mujtaba Hassan
I needed to bind a checkbox in gridview to a database field but to my disappointment I found that this was not easy. We could bind “Text” property but what if I don’t want to display the value I am binding (e.g. ID of that record). Here is a work around.
29 Aug 2013 by Talking Dotnet
In my previous post about Writing your first jQuery Mobile app - Part 1, I have explained about creating single page, changing themes and creating navigation button.
5 Mar 2010 by teebot
(or How to Retrieve a Type of Parent Control Using an Extension Method)Here's a situation where I had to retrieve the next Parent Control of a certain type.
3 Oct 2016 by Thomas Cooper
How to create code snippet view panel on an HTML page
25 Jul 2014 by Thomas Maierhofer (Tom)
TinyMCE additional HTML elements