MFC Programming
website
Links
Here are some useful add-in related links
I've started collecting about MFC programming. This section is still very much under
construction, and more
MFC
Programming
links will be appearing in the future. If any
C++/MFC
Programming link
dies, please contact
me.
|
http://www.ucancode.net/
Only
the Best
MFC
/ VC++ Programming
web
site!
|
MFC
Programming Source Code, and it also with
Visual C++ MFC ,Visual
C++ Controls Programming, and it also with Visual C++
Class Library, Visual Extensions, with Visual C++ Component,
and with Visual C++ ToolKit Programming,
and it also with MFC Source Code,
to be done with MFC Extensions,
with
MFC Controls, can be MFC Class Library,
also with
MFC
Component and MFC ToolKit, Graph Source Code, Diagramming Component,
Diagramming MFC Source Code,
and it also with MFC
GUI ToolKit, and it also with Visual
C++
Programmer
Source
Code, |
Beginning MFC
-- This book is oriented to teaching you how to
program in C++ in Microsoft environments. Specifically it teaches two distinct versions of
C++: First is standard ISO/ANSI standard C++ that will run on anything and is specifically for the development of high performance applications that run in native mode on the computer. Second is
C++/CLI which is part of Microsoft's
.NET framework. .NET is a library of routines that accomplish many of the standard tasks that you would otherwise have to
program yourself. (John Matlock)
Enterprise Application Development with Visual C++
MFC 2005 -- Enterprise Application Development with
Visual C++ 2005 teaches developers how to create practical business applications using managed
C++ and Visual Studio 2005. It offers best practices for coding and
C++ development, including class
programming, code factoring, source control, memory management, and interdependency and interoperability.
Introduction to Windows And Graphics Programming With
MFC .net -- This book provides an accessible approach to the study of
Windows programming with
MFC. It is intended to be an introduction to
Visual C++ for technical people including practicing engineers, engineering students, and others who would like to understand
Windows programming and use its inherent graphic capabilities.
|
|
|

|
This hands on MFC programming course
presents the structure and use of Visual C++
and the Microsoft Foundation Class (MFC)
library for Graphical User Interface programming,
the Document/View architecture, SDI, MDI, ODBC, and DAO programming. The course
includes the use of the Visual Studio automated tools (wizards), but emphasizes
a thorough grounding in event driven programming
and the MFC object hierarchies. Upon
completion of the course, students will understand the structure of the MFC
and how the objects interact. The course provides an introduction to how Windows
works at the message level, important for debugging as well as for understanding
MFC objects. Students will become familiar
with important base classes and the inheritance hierarchy; understand how the
hierarchies are organized; and learn how MFC
objects interact with the Windows operating system.
VC++
Article: CListCtrl, CListView to displaying jpeg
image thumbnails with PaintLib
Free
EMF to SVG File Convert
Tool
Get
Business Card / Label
Print Component
C++ Source Codes
VC++
Example:
Display GIF-animatE using GDI+ with BMP,
JPEG, PNG, TIFF, EMF, WMF, DrawImage
E-XD++
GDI VC++ Drawing Example: Drawing Pie Progress
Control Shape
Full Screen with
CWnd and
Diagram Like Microsoft Visio 2007
Add proto - logic diagram displays to your
Java, C++, and .NET applications, for the desktop and rich
internet applications.
VC++
Example:
splitter control in dialog UpdateWindow
GetWindowRect GetDlgItem
MFC
Library Article:
Create Database with SQL Server and ADO Stored
Procedures
MFC
Example:
WM_KICKIDLE and CCmdUI and
ON_UPDATE_COMMAND_UI and
WM_IDLEUPDATECMDUI
Visual C++ XML Article, Load Parse and
save XML Document with
MSXML Library
GDI+
Example:
Draw
Curve ActiveX Control
GraphicsPath and Graphics
Get file or folder time
and set file or
folder time, FindFirstFile and FindNextfile with
GetFileAttributes vc++ example
Draw or Paint Spline Curve Line
with VC++ Source Code
VC++
Sample:
ExtSelectClipRgn
or
IntersectClipRect,
ExcludeClipRect and
OffsetClipRgn or GetMetaRgn with InvalidateRect
Free Codes with
BITMAPINFOHEADER
and CreateDIBSection
Visual Studio example
and Visual Studio Tutorial and mfc tree control
VC++ MFC Codes:
Display Message Balloon Tip Window with
SetWindowRgn and CreateRectRgn and CombineRgn
Store and read from XML File
with .NET and C# framework,
C++/MFC Example
VC++
Example:
Loading DLLs
LoadLibrary and
GetProcAddress and
FreeLibrary
VC++ Article:
Draw Image
Background
and CScrollView
text with bitmap brush
and
PreCreateWindow
VC++
Example:
Return or Esc Key
with EndDialog and OnSysCommand
VC++ Article:
DECLARE_SERIAL and
IMPLEMENT_SERIAL
and serialize data from or to disk
VC++ Article:
CTreeCtrl and GetRootItem, GetItemRect and
GetNextItem with Printing Tree View and CreateBitmap
MFC
visualisation software:
Create and draw Thumbnail View
with CWinApp and
CDocTemplate and CMultiDocTemplate
MFC
Example:
Copy, Move and Delete files and rename directories, SHFileOperation
and CFileFind and FindFirstFile with
FindNextFile
Free VC++
MFC Grid Control
with VC++ Source Code
Visual C++
Example:
Load DIB Bitmap File and Save Bitmap file and
Convert dib to bitmap and rotate bitmap file
SCADA
Automation Programming Tool And
visualization component Control
VC++ Source Code Solution
VC++
Example:
Add VBScript and JScript support in VC++
applications
with Script ActiveX Control MSSCRIPT.OCX
Visual C++ and MFC Appwizard:
CMDIChildWnd with
CenterWindow AfxGetMainWnd
VC++ Code:
Drag and Drop File in Dialog with
WM_DROPFILES
and WM_NCLBUTTONDOWN
MFC
MDI and SDI Example to create ruler
scrollview and splitter
MFC
Example:
CreateFile and WriteFile with save memory dc to
bitmap file
MFC
Source Code:
SQLPrepare and SQLAllocStmt with CDBException
and SQL Query and ExecuteSQL
MFC
GDI+ Sample:
gdiplus.lib with GdiplusStartupInput and GdiplusStartup with
GdiplusShutdown
MFC
Article:
Keep an Window Always on Top with
WS_EX_TOPMOST and
OnWindowPosChanged
VC++ Printing Article
with Printing Text and Printing Table, Printing Jpg and Gif and PCX
MFC
Article:
Create toolbar with SetButtons and SetButtonInfo
and OnNotify
MFC
Sample: Display or Create Splash Screen, Show
Transparent Bitmap with SetWindowRgn
VC++ Example:
SaveDC and RestoreDC, IsPrinting and GetSysColor
MFC
Source Code:
Draw Text with GetCurrentFont, GetTextExtent and GetLogFont and MoveToEx
VC++ Example:
Load or Save Dib Bitmap File,
GetScrollPosition and FillRgn or CombineRgn and
Create Cursor
VC++ Codes:
Draw text along line and
draw rotate text
MFC
Library:
Drawing Spline
application with OpenGL with sample Source Code
MFC
Source Code:
WindowFromPoint and GetDlgItem or ScreenToClient
Add Phthon
in or into C++ Application with Visual C++ Article or Tutorial Source Code
Open Souce VC++ Code and MFC Code Site,
VC++ FAQ Site and Tutorial Site
E-XD++
GDI VC++ Drawing Example:
Draw
Animate Line with CBrush
VC++ Code:
Change the font of window with SetFont and EnumChildWindows and
CreateIconFromResource
Draw Rotate Text with GetTextExtent and
SetTextAlign and ExtTextOut, VC++ Example
VC++ GDI Example:
GDI
AlphaBlend
and Bitmap Alpha
VC++ Article:
Calculate the width of text with GetTextExtentPoint32,
DT_CALCRECT
and GetCharABCWidths
VC++
Sample:
Convert EMF to WMF using GDI+
MFC Example:
Create Multiple
Thread with CreateThread and CWinThread and
SuspendThread
and
ResumeThread
MFC Example
Multiple monitor support with GetSystemMetrics
EnumDisplayMonitors and GetMonitorInfo
MFC
Sample Code:
TrackMouseEvent and GetCapture or SetCapture and
ReleaseCapture and GetCursorPos
LoadResource
FindResource and LockResource, with UnlockResource or VC++ Sample
VC++ Example: Read font from file name, TTF
Font name CFile and Open
Draw
Vertial gradient,
Horizontal Gradient
and Draw Diagonal gradient with VC++
Create VC++
MFC Chart Control, Drawing and Priint Bar
Chart, Source Codes
VC++
Source Code Example: Create TIFF File and Write
Tiff file and Read Tiff file
Create MFC VC++ Static Library, UpdateData and
LoadIcon
Create
Multiple Language to MFC Extension DLL Toolkit with Resource only
VC++
Sample:
Create Shadow of bitmap,
draw shadow with
GDI, TransparentBlt, SetBitmapBits and
GetBitmapBits or GetRValue, GetGValue and
GetBValue
MFC Example Retrieve color from desktop with
CreateDC and GetCursorPos, GetPixel
VC++
MFC Example:
Adding VBScript and JScript support in your C++
applications
VC++ Example:
Draw or display Real-time data
plot Chart
Using GDI+
with
MFC or native C/VC++
VC++ Ado Tutorial
with VC++ Ado Sample and VC++ Ado Example
VC++
Codes: GetRandomRgn or
MapWindowPoints
or
OffsetRgn,
GetDCEx with GetClipBox, GetClipRgn and
SelectClipRgn
VC++
Sample:
Multiple Views layout of
RepositionBars and DeferWindowPos with
RecalcLayout and UpdateAllViews
Introduction to GDI+ in
.NET
GDI+ Font,
Brush
and
Bitmap
Converter Convert RTF to HTML
with VC++ Source Codes, and
RICHED32.DLL
MFC Sample:
Add status bar to an MFC
dialog,
CStatusBar
GDI+ GraphicsPath
and
LinearGradientBrush
VC++ Tips: LOGBRUSH and PS_DOT
and PS_SOLID and PS_COSMETIC and
PS-ALTERNATE
VC++
MFC Example: CTreeCtrl,
Create Tree Control
VC++ Article:
UnrealizeObject
and
SetBrushOrg
or
GetSystemMetrics with Pattern Brush
GDI+ Printing.
GDI+
and
DrawArc
and
DrawPath
MFC
Multiple Page Print preview Article and
CPrintPreviewState,
it with CPrintPreview and DoPrintPreview,
LPDEVMODE and
GetPrinterDeviceDefaults
VC++ Example
Capture Print Screen to
Clipboard including
dropdown menu,
SetWindowsHookEx
and
UnhookWindowsHookEx,
with
RegisterWindowMessage
GDI+ Color
and
ARGB
with
Example
VC++
Example: Change the background color of a dialog, CDialog,
OnCtlColor
UML
Diagram Component
,
and it also with
Drawing C++ Source Code Solution
from ucancode,
it will save you 50% - 80% time for building any UML based application.
_TrackMouseEvent, GetWindow,
GetWindowRect, SubclassWindow, GetWindowLong, SetWindowLong,
Drawing, VC++, source code
VC++
Single Instance Window, CreateWindow, CWinApp,
SetWindowPos, SetFocus
VC++
Tool:
Visual
C++ and SQL generator for ODBC Database, with
source code sample
|