Click here to Skip to main content
15,879,535 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 Score

MFC 

17 Aug 2009 by Arindam Sinha
SOAP Request/Response XML can be logged with TraceExtension
12 Aug 2014 by Ben Liebert
Here is a step by step guide to building a cross-platform application in HTML, CSS and JavaScript
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 [...]
10 Jul 2011 by Kunal Chowdhury «IN»
Organizing custom control properties inside Visual Studio and Expression Blend
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.
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.
22 Jul 2016 by Andrei Ion Rînea
Having fun with HTML 5 history API - Part 3
1 Feb 2011 by AlexCode
Image Sprites and CSS Classes creator
22 Jul 2011 by João Paulo Figueira
An alternative way to create the menu bar
25 Jul 2014 by Thomas Maierhofer (Tom)
TinyMCE additional HTML elements
8 Apr 2016 by Codeman the Barbarian
Embedded Programming – Getting Started With the Netduino - Part 2
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.
5 Oct 2012 by Marius Bancila
A tale of two flags: DS_CONTROL and WS_EX_CONTROLPARENT
18 Mar 2010 by Mohammad Elsheimy
Learn how to create your CWinApp::OnIdle in C
25 Nov 2010 by Abhijit Jana
How to Use ASP.NET “Property Pages” to create or host a Silverlight application in ASP.NET Site?
25 Mar 2012 by stoimenpopov
Quicksort is a very elegant general purpose sorting algorithm and every developer should be familiar with its principles.
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.
20 Sep 2013 by Melick
Format text out as a table (format-table) in PowerShell
17 Aug 2014 by Ben Liebert
How to architect CSS
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.
6 Nov 2014 by Stephen C Young
Functional Programming
27 Dec 2014 by HeWillem
WPF TabControl Focus Behavior with Invisible Tabs (MVVM)
4 Jul 2012 by Jonathan Wood
Getting accelerators to work in a dialog box.
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 [...]
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 →
28 Apr 2014 by Nitesh Kejriwal
How to create a Hierarchical Menu using HTML, CSS and jQuery
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.
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.
4 Jun 2015 by abin jaik
Office 365 Video & Office 365 APIs
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.
18 Jul 2016 by Andrei Ion Rînea
Having fun with HTML 5 History API – part two
8 Apr 2009 by Jim Crafton
How to work with delegates in Visual Form Files.
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
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.
12 Mar 2010 by Nizar Noorani
We recently ran into a challenging design issue at work...
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.
5 Sep 2010 by rudigrobler
Who's the boss?
2 Oct 2012 by Anuraj Parameswaran
A very simple and lightweight collaboration white board using HTML5 canvas API, JQuery and SignalR
11 Feb 2013 by Luis D. Aguilar
Functional programming is a programming paradigm that treats application operations as a sequential execution of functions.
22 Jun 2014 by Deepak-VS
DataGridView – Stacked Header – Export to HTML/Excel
11 May 2015 by John Bhatt
Accordion Panel with CSS
18 Aug 2015 by nirman b doshi
MVC attribute to restrict users to enter any kind of HTML tags in the input fields
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.
7 Oct 2014 by Prava-MFS
CSS: Custom HTML5 Form Validation with Visual Effects using Pseudo Class
21 Aug 2014 by Edison Heng
Networking and Socket programming tutorial in C.
25 Nov 2013 by pi19404
This article describes basic concepts of C++ Storage Access Specifiers.
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.
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.
5 Jun 2015 by Paul M Watt
C++: Template Meta-Programming 2.0
31 Oct 2013 by James Carr (Crashcarr)
The results have been pleasantly surprising in adding additional functionality to Notes and SharePoint.
2 Jun 2015 by Chris Boss
Lessons learned from legacy Windows programming
12 May 2010 by Sarath C
Simple method to display progressbar over taskbar button
16 Nov 2015 by Andy Feng
Improve CSS Development Productivity using Sass and Compass Part 1 - Configure Environment
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.
13 Sep 2010 by Andrey Permamedov
The bug in MFC tool tip control
25 Feb 2010 by micahs
What does it take to be an Object Oriented Programmer?
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.
25 Aug 2010 by HelgeKlein
How to enable drag and drop for an elevated MFC application on Vista/Windows 7
12 May 2016 by Prava-MFS
CSS: Nested Selector vs Modular Selector
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.
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.
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.
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 […]
13 Aug 2015 by Sibeesh Passion
Export Hierarchical (Multi-Level) HTML Table With Styles Using jQuery
18 Mar 2010 by Mohammad Elsheimy
Convert colors to gray shades, detect Print Preview mode, and detect Black-and-White printers
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.
25 Oct 2010 by Ivan Krivyakov
MessageBoxes and worker threads
5 Nov 2014 by Víctor Sumozas
CSS divide page into sections
26 Jul 2015 by Camilo Reyes
High Performance HTML Forms
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.
29 Jul 2011 by Melick
User profile synchronization service starting issues
25 Nov 2016 by Andy Point
How to create Android Navigation Bar Menu using Bottom bar Library
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.
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.
10 May 2010 by User 271009
Stuff is an example application I wrote for WPF Line of Business Tour at Redmond event.  During some of the event sessions I used the code in Stuff to demonstrate topics I was teaching.  During the event, we did not do an end-to-end examination of Stuff, that is the purpose of this bl
22 Jan 2010 by Charles Boyung
This is the third part in my series on programming for performance.
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).
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++.
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 […]
7 Oct 2013 by Arpit Jain
This article explains how to upload a file using HTML 5 and JavaScript.
7 Jan 2016 by Dave Ceddia
Escape or sanitize HTML in Angular
16 Jun 2015 by Sibeesh Passion
Sort a JSON Array Programmatically by a Property
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.
27 May 2011 by Member 7950660
Threads and a Bicycle-built-for-two
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.
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.
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.
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.
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.
19 Feb 2013 by Zac Gery
A Crash Course In CSS Sprites
18 May 2013 by n.podbielski
A better algorithm for finding UpdatePanel that will be updated during page request
26 Jun 2013 by Victor Rene
Gradia's initiative bar
14 Dec 2013 by Zac Gery
The topic of perfection is a common discussion at the programming dinner table. Is it good? It is bad? It is healthy? Is it possible? Is it realistic? As expected, a topic with this many questions has a wide variety of entrenched opinions.
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 →
3 Oct 2016 by Thomas Cooper
How to create code snippet view panel on an HTML page
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.
18 Apr 2017 by Aoi Karasu
Referring to a property via a string containing its name
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.
18 Jul 2016 by Andrei Ion Rînea
Having fun with HTML5 History API - Part One
4 Jul 2012 by Jonathan Wood
How to read and write CSV files in MFC