Developer code samples

Download code samples and applications for Windows 8, Windows Phone, Microsoft Azure, Office, SharePoint, Silverlight and other products. You can also explore the Official Visual Studio C#, VB.NET, and 101 LINQ samples.New samples are added frequently in JavaScript, C++, C#, Visual Basic, and F#.
Each sample is licensed to you by the party distributing it. Microsoft does not guarantee the samples or grant rights for any sample distributed by a party other than Microsoft. Use of this site is subject to the Terms of Use.
Sort by: rss
84 results in mfc [Clear]
OneCode Team
The code sample demonstrates invoking COM objects and hosting ActiveX controls in an MFC application
COM, MFC
No Star
(0)
Updated 5/5/2011
Released 2/11/2011
11,737 Downloads
C++
OneCode Team - Microsoft
The code sample demonstrates creating an ActiveX control in MFC
No Star
(0)
Updated 3/5/2012
Released 1/27/2011
11,077 Downloads
C++
OneCode Team - Microsoft
The code sample demonstrates creating an ActiveX control in MFC
No Star
(0)
Updated 3/5/2012
Released 3/5/2012
16,209 Downloads
C++
OneCode Team - Microsoft
The code sample demonstrates creating modal and modeless dialogs in MFC
MFC
5 Star
(3)
Updated 3/5/2012
Released 1/27/2011
12,267 Downloads
C++
OneCode Team - Microsoft
The code sample demonstrates creating modal and modeless dialogs in MFC
MFC
No Star
(0)
Updated 3/5/2012
Released 3/5/2012
10,500 Downloads
C++
OneCode Team
This MFC code sample demonstrates using the CTaskDialog class to create various task dialogs
MFC
4.3 Star
(4)
Updated 5/5/2011
Released 4/5/2011
14,706 Downloads
C++
OneCode Team
The code sample demonstrates creating an ActiveX control that is safe for scripting and initialization in MFC
COM, MFC
No Star
(0)
Updated 5/5/2011
Released 1/27/2011
8,288 Downloads
C++
OneCode Team
The sample demostrates how to copy and paste simple text programmatically.
3 Star
(2)
Updated 5/5/2011
Released 1/21/2011
8,628 Downloads
C++
Pierre Morel-Fourrier
Shows how to create a very simple MFC Direct2D application, or how to convert an existing MFC application to Direct2D.This code is the illustration of this blog article: MFC and Direct2D, part 1/NTo build this sample, open the solution (.sln) file titled Helloworld.sln (C++ proje
5 Star
(1)
Updated 12/13/2011
Released 12/13/2011
10,163 Downloads
C++
Pierre Morel-Fourrier
This sample shows how to use MFC support for Windows 7/8 taskbar integration, and how to integrate a C++/MFC application with Windows 7/8 taskbar.
No Star
(0)
Updated 1/19/2012
Released 1/19/2012
7,339 Downloads
C++

Couldn't find the sample you were looking for?

1 - 10 of 84 Items