VC++
Tutorials / UI Samples
UCanCode
Software focuses on general application software development. We provide complete solution for developers. No matter you want to develop a simple database
workflow application, or an large flow/diagram based system, our product will provide a complete solution for you. Our product had been used by hundreds of top companies around the world!
Microsoft
Visual C++ is a
programming environment used to create computer applications
for the Microsoft Windows family of operating systems. To
assist it, the Microsoft Foundation Class
Library, or MFC,
was created as an adaptation of Win32 in MS Visual Studio.
This
web site provides lessons and links on how to exploit the
MFC library, including its use in MS Visual Studio and its
implementation of the C++
programming language.
"100% source code provided! Free you from not daring to use components because of unable to master the key technology of components!"
Below
are the list of these VC++
Tutorials Codes:
VC++
Tool:
Visual
C++ and SQL generator for ODBC Database, with
source code sample
VC++
MFC Tutorial:
GDI Objects
E-XD++
GDI Drawing PolyBezier Example:
Drawing Cloud Shape
VC++
MFC example:
Micrsoft Visio 12 like Print Preview
Source Code
E-XD++
GDI Drawing
Example:
Drawing A Clock Shape
E-XD++
GDI Drawing Example: Drawing Wave Shape
E-XD++
GDI Drawing Example: Drawing UML Actor Shape
E-XD++
UML Drawing Example: Drawing UML Package Shape
E-XD++
UML Drawing Example: Drawing UML Component Shape
GDI Example:
Add
and Draw US flag with E-XD++, five
star shape
Get
Business Card / Label
Print Component
C++ Source Codes
E-XD++
GDI Drawing Example:
Drawing ADDL Package Shape
VC++
MFC Example: Clipboard on CF_DIB, CF_METAFILEPICT,
OpenClipboard, GetClipboardData, CloseClipboard
Free
VC++ Tool:
Convert C++ Code file to HTML
COleDateTime,
Get first day of week, COleDateTimeSpan, VC++
Example
VC++
GDI Example: Draw
an periodic
Table
shape
VC++
Example:
HRGN,
SetWindowPos, SetWindowRgn, Create
Region from bitmap file
VC++
Example:
GetPath,
BeginPath, EndPath, True Type Font,
Draw
Outline of text
VC++
Sample:
Screen Capture
VC++
MFC Sample Code:
Transparent
bitmap splash screen
VC++
Example: Write
HTML File (Table)
C# Article:
Create, Open, Load, Save, Import,
Export, Edit, SVG File Document
With
C#, SVG .NET Class
Library
VC++
Example:
Sizing
Control Bar with Tab Control, DockControlBar
VC++
Example: Control
for
Load and View Bitmap file, ScrollBar
VC++
Example:
Draw Emboss text and other Shadow shape on your bitmap
VC++
Example:
Store Bitmaps into an Array, CBitmap,
CreateBitmapIndirect
VC++
Example:
CString Extension,
Get Window Directory
VC++
Tool:
MFC under the hood,
WinMain,
VC++ Programmer
VC++
FAQ: Place a bitmap image on the clipboard
VC++
Example:
Macintosh-like Progress Control,
CProgressCtrl in Dialog
VC++
Article:
Create
menus with Unicode, ModifyMenu, GetSubMenu
Add proto - logic diagram displays to your
Java, C++, and .NET applications, for the desktop and rich
internet applications.
VC++
MFC Example:
Place
Combo Box, Edit Box, Progress Control, Check Box
on toolbar, CComboBox, CEdit, CCheckBox
VC++
Sample:
MP3 Player with C++ Source Code, Play MP3 File
VC++
Example:
Rotate a bitmap DIB image File
VC++
Sample: Free
C++ Twain Source Code
VC++
Example:
Convert / Turn bitmap DIB File to a JPEG file
VC++
Article:
Create Cursor, Display cursor, Convert
bitmap to cursor, CreateIconIndirect, DeleteDC, SelectObject,
ICONINFO
VC++
Tutorial: Using
DirectX, DirectDraw in MFC, Article, Example Codes
VC++
Example:
A few skin library with source
codes
VC++
Example:
Retrieving lost passwords using Windows
hook and WM_GETTEXT
VC++
Example:
Sort CObList class
VC++
Example: Write, Create AVI Files
VC++
.NET Tutorial Programming: Using
GDI+
Brushes to Draw Text
VC++
Single Instance Window, CreateWindow, CWinApp,
SetWindowPos, SetFocus
VC++
Article: create or change the skin, shape, image
of dialogs, SetWindowLong
VC++
MFC Tutorial: Auto Save files, CDocument - CView
VC++
Demo: Drop down Combo Box in CTreeCtrl and
CListCtrl
VC++
Article: CSplitterWnd Extension that
Allows Create Multiple Views, and
Switch Views in Any Pane
VC++
Article:
Print
and Draw Html Document Text, draw like DrawText
CAM
simulator
Sample with
VC++ MFC Source Code
Using
GDI+
with
MFC or native C/VC++
VC++
MFC Tutorial: Undo Redo Source Code
_TrackMouseEvent, GetWindow,
GetWindowRect, SubclassWindow, GetWindowLong, SetWindowLong,
Drawing, VC++, source code
VC++
Article:
Opening / Saving multiple types of documents in MFC MDI applications
C++
and VC++ Code Generator Tool, Free UML Class Diagram
Drawing Tool
MFC Sample:
Changing Bitmaps Color Depth,
CBitmap, GetDIBits
VC++ Example:
Drawing
an Arrow Line
with Source
Code
MFC
Sample Code:
CList Iterator
VC++ Controls: The
Tree Control,
CTreeCtrl Example
UML
Diagram Component / Drawing C++ Source Code Solution
from ucancode,
it will save you 50% - 80% time for building any UML based
application.
VC++ Sample:
Address Book
VC++
Tool:
MFC GDI Plus thumbnail
CListCtrl,
BMP File, Jpeg file, Gif File, Tiff file
VC++
Tool:
Printer
Settings - Change, Store and Load Printer Setting,
Paper Orientation
Send Email using MAPI - A COM
Email DLL
Component, VC++ Example With
Source Code
VC++
MFC Example: Add bitmap into CImageList
VC++
MFC Example:
Icon
Select Combo Box, CComboBox
VC++ Example
Capture Print Screen to
Clipboard including
dropdown menu,
SetWindowsHookEx
and
UnhookWindowsHookEx,
with
RegisterWindowMessage
VC++
Article:
Converting Wav file to MP3 or other format using DirectShow
with source code
Printing
Preview toolbar, MFC Example
VC++
MFC Example:
Read
/ Write, Load / Save, Registry access to HKEY_LOCAL_MACHINE and HKEY_CURRENT_USER
VC++
MFC Sample: Magnifying
Glass - demonstrates
different ways to obtain or create proper DC
and use
BitBlt
-
StretchBlt
functions
VC++
MFC Example: Create MFC Extension DLL, COM
and ATL, dllimport, dllexport, AFX_EXT_CLASS
Visual C++ Addin:
CFileDialog
AddIn, Download Example
VC++
Example: CListBox - A list box with Icons,
AddString, InsertString, with Image Item
VC++ Tutorial /Database
Print
VC++
MFC ActiveX Control Article, COM Drag - Drop
Example
VC++
Tutorial:
Custom CListBox
- A ListBox with Radio
Box, DrawFrameControl, DrawFocusRect
VC++
Example:
Load,
Draw Bitmap File, CBitmap, GetBitmap, BITMAPINFOHEADER
VC++
MFC Tutorial: Extend CStringArray and CString
C++
Article:
Compuware,
BoundsChecker, Tracking GDI resource memory leaks
Date-Time Edit Control
A simple masked
date-time editor. VC++
Article Source Code
and
GetWindowText
VC++
Tips: Auto-complete edit control
VC++
Programming:
Docking Toolbars
and CControlBar, Side-By-Side, EnableDocking
OpenGL
Tutorial:
Printing and Print Preview with
VC++ Example
VC++
Example:
CToolBar, ToolBar Customization,
Saving, Restoring and Drag and Drop
MFC Sample: CSliderBarCtrl Sample Source Code -
RealOne Player Volume Bar Clone
MFC Example: Export dialogs in MFC Extension DLLs
VC++
Example:
CFormView,
Replace a
view in SDI Application, LoadLibrary,
GetProcAddress, GetActiveView, AfxGetMainWnd,
SetWindowLong
VC++
Tool: RTF-to-HTML
Converter, Convert Rich Text to HTML Example
E-XD++
UML Drawing FlowChart Example: Drawing UML Note Shape
VC++
Article: Insert a bitmap file - HBITMAP into a
Rich Edit Control, use
COleDataSource, CF_BITMAP, and STGMEDIUM
Visual
C++/MFC Tutorial -
Lesson 1: Behind the Scenes with Handles and Post Messages
VC++
Debug Trace, Memory Check, Assert Article, DebugOutputString
CMemoryState A C++ Projects
Customized Printing Dialog using PrintDlg
VC++
MFC DIBLOOK
Advance Sample, with file open dialog preview
VC++
Game Sample Source Code,
Wave File Play, Midi file
play, DirectX
VC++
Example:
Using one
VC++ extension DLL in another VC++ Extension Dll
Visual C++ XML Article, Load Parse and
save XML Document with
MSXML Library
VC++
MFC Tutorial:
Unicode, MBCS and Generic text mappings
C++
Article
STL
Iterator and the
VC++ MFC Iterator
Visual
C++ Tutorial: Visual C++ Debug / VC++
Debug / MFC Debug
VC++
Example Source: 2D Chart and 3D Plot Print Chart Control
MFC
Tutorial: MFC
Printing
Runtime
class information using CRuntimeClass in MFC
VC++
Article:
Create
2d graphics editor, AutoCAD, like Toolbar
Globals in MFC
Class Framework, CWinApp
VC++
Example:
Display GIF-animatE using GDI+ with BMP,
JPEG, PNG, TIFF, EMF, WMF, DrawImage
Unicode
Programming in MFC
VC++
MFC Example:
A Slider Control, CSliderCtrl
GDI+
Examples: Drawing Column Chart
VC++
MFC Example: Draw 2D Bar Chart, Draw 2D Pie Chart,
Create Line Chart
VC++
Article:
CTreeCtrl, OLE Drag and Drop Copy between
Tree controls
C/C++ Drawing BarCode
Tutorials
GDI
Example:
Transparent
Bitmap - True Mask Method
VC++
Example:
Classes
to Record, Play, and Save WAV File to disk
GDI+
Example: Using GDI+
Brushes to Draw Text
VC++
MFC Tutorial: ActiveX
Control Example
VC++ .NET Programming,
Writing a Wrapper for COM Components
VC++
MFC Tutorial:
CListCtrl, InsertItem, Using List Control, SetImageList,
Article with source code.
Visual C#
Samples: Scribble Sample - Visual C# MDI Drawing
VC++
MFC Example: Multiple Document / Views, CObList
MFC
Example: Print Preview in MFC - Dialog
MFC
Example: Using MFC For Drag
'& Drop, Cut, Copy, and Paste
Visual
C++ MFC Tutorials: CZoomView
/ A class that provides
"zoom" feature
VC++
Source Code Tool:
Project number Line code Counter Statistical
VC++
MFC Tutorial: C / C++ Tree Class
VC++
Example: CComboBoxEx with History, ComboBox,
CComboBox to history!
VC++
Example: Draw
or fill Gradient
VC++
Example:
ODBC Database SQL DSN- A class to dynamically read data from any ODBC data source
Visual
C++ Examples:
A
fully
customizable Property Grid, Grid Control, Property Window, Property Control with
VC++ source codes.
VC++
XML Read and Write Article: C++ Source
Code for Creating and Processing XML documents
MFC
Examples: MFC
Solution to
Explanding the CFileDialog Common
Dialog
C++
Example: Formula Editor,
and mathematical control with Drag Drop,
Copy, Cut, Paste, Export to image support.
MFC
GDI
Tutorials: GDI
Printing, GDI+ Printing
VC++
MFC Tutorial: Create MFC Extension Dll, Export MFC
Classes
ActiveX
Control Tutorial, COleControl
VC++
Tutorials: Visual C++ DLL: How to build a resource-only DLL?
Visual
c++ character sets, Unicode, _MBCS
VC++
Example: Listbox
In-place Editing, CListBox, Text Input
MFC
Topics: CTreeCtrl,
CListCtrl, SetItemData, GetItemData, InsertItem
VC++
MFC Example:
Sharing file folders
using tree control drag
& drop
MFC
Programming: MFC
Tab Control, CTabCtrl
VC++
Article:
Skin based slider control,
CSliderCtrl
VC++
MFC Thread Tutorial: _beginthreadex,
WaitForSingleObject, pausing, resuming, and stopping threads
Visual C++ Example:
Multiple
CRectTracker
Drawing
Visual C++ Example:
Transparent
MFC CSliderCtrl Source Code
Visual C++ Example:
MFC Bitmap Button Source
Code (CButton)
VC++
Article:
Tile, center and stretch a bitmap as your MFC dialog background
Visual C++ CComboBox:
Auto-complete
ComboBox
MFC Tutorial:
Sort CObArray class
VC++
Sample: Quick Sort for CStringArray
Visual
C++ / VC++ MFC Printing Class Library
Cool
office XP Style Menu, Icon Menu and Bitmap Menu, CMenu
Visual C++ Example:
How to swap
two items of
CListView,
GetItem, GetItemState
Cool
MFC Font Combo Box with source
codes (CComboBox)
MFC
GUI Framework: inside
Atl &
dll server
Visual
C++ Example: MFC
XML Serialize
MFC Example: CListBox with Image Item, CCheckListBox
Visual
C++ Example: DXF
File Drawing, load, write
GDI+
Examples: GDI+ Line/Curve Drawing and
Hit Test CObject and
CObArray
CDC
Examples: Drawing
vertical text
VC++
Article:
Print
ListCtrl on multiple pages, CListCtrl, CListView
Visual
C++ Drawing Example:
Anti-Alias C++ Drawing
VC++ Tutorial:
Drag,
Drop, COleDataSource, CSharedFile,
RegisterClipboardFormat
MFC
CListCtrl: Print
the contents of the list
control
MFC
SetTimer: WM_TIMER
with VC++ Sample Source Code
VC++
Example: Change the background color of a dialog, CDialog,
OnCtlColor
VC++
Example: Quick
Draw Image Stretching Technique, StretchBlt
Dib
VC++
Example: OnPreparePrinting and
OnBeginPrinting and OnEndPrinting, Plug-in
class to support printing
from a listview
MFC
VC++ Topics:
|