VC++/C++ Source Code ATL Links
-- Image Editor
Here are some useful add-in related VC
Source Code links
I've started collecting. This section is still very much under
construction, and more links will be appearing in the future. If any VC
Source Code link
dies, please contact
me.
 |
|
 |
UCanCode
Electronic form solution V12.0
from ucancode |
|
UCanCode software is the
only software company to ship
high quality E-Form Component Source Code in the world. With full edition of E-XD++ Suite, you
have the 100% VC++ / .NET Source Codes
of E-Form Designer and the 100% VC++
/ .NET Source Codes of E-Form Reader,
you also have the license to modify any party of these source
codes to build your own E-Form
Applications, it will save tons of month development time (Save Over 90%
time to building E-Form based application),
more...
|
 |
May
07, 2008
UCanCode Home & Office
Plan Drawing and Design solution from ucancode |
|
Each time when you want to
create your own building design and office plan
software, you should consider to use E-XD++
Diagram Component, it is the best component with
almost all the features of Microsoft Visio 2007 and
SmartDraw. It will save you many months for building any
kind of office plan, home building design
and drawing software,
more...
|
 |
HMI
and SCADA Process Flow
Diagram Component Solution
from ucancode
|
Monitoring GUIs for C++, VB, Java, and the
.NET platform
UCanCode XD++ provides a complete set of
services, consisting of design tools and a software development kit (SDK),
for developers who want to create a user interface for industrial
monitoring applications. These displays feature highly customized
graphical objects that connect to underlying real-world data,
more...
|
 |
Circult diagram drawing Component Source
Code Solution from ucancode
|
|
E-XD++ Library is a powerful
diagram drawing component for creating professional-looking
business, technical drawings and illustrations for your documents
quickly and easily. E-XD++ Library is the ideal component for
creating any kind of Electric power diagram drawing application or
circult drawing application,
more... |
 |
UML
Diagram Component / Drawing C++ Source Code
Solution from ucancode
|
|
|
E-XD++
Enterprise Edition Suite is a 100% C++ based
diagram Component, it's UML Diagram
Solution contains almost all the features of
building a high-quality UML Application, as
a UML modeling tool component, it
helps you to quickly and easily build any
kind of applications that has all varieties
of UML diagrams. Developers save 50
to 80 percent of development time when
creating displays with ucancode
Visualization,
more... |
 |
BPMN
Diagram Component / Drawing Source Code
Solution from ucancode |
|
Business Process Modeling Notation
(BPMN) is the standard for modeling
business processes and web service
processes. BPMN is a core enabler of
Business Process Management (BPM), a
new initiative in enterprise architecture.
UCanCode Software provides rich and core
components for Business Process Modeling
Notation (BPMN). It includes
workflows diagram
designer,
E-Form Designer,
and
BPMN Diagram Designer, more... |
 |
Label Print and Report
Print Component Source Code
from ucancode |
|
With E-XD++
Component, you can add advanced printing
functionality to your applications. The
E-XD++ Library is a 100% C++ data rendering
and visualization system, built specifically
for Visual Studio .NET and designed to bring
your User Interface to the printed page. Now
you only need a few days for building a very
powerful label print or report print
application,
more... |
 |
Proto - Logic Diagram
Component Source Code from
ucancode |
|
Add proto -
logic diagram displays to your
Java, C++, and .NET applications, for the desktop and rich
internet applications.
More... |
 |
2008,
E-XD++
Flow Diagram Kit Enterprise Edition 2008
Volume 1 Released,
this is a
maintenance release that includes improved
drawing performance, tons of new features, new
samples, bug fixes and more. See the full list
of changes
here. |
|
VC++
Tool: Visual
C++ and SQL generator for ODBC Database, with
source code sample
C/C++ Articles Links
VC++
MFC Tutorial: GDI Objects
E-XD++
GDI Drawing PolyBezier Example:
Drawing Cloud Shape
E-XD++
GDI Drawing
Example: Drawing A Clock Shape
C/C++ Blogs
Links
C/C++ UML Tool
Links
VC++
MFC Tutorial: Undo Redo Source Code
VC++
Example: Retrieving lost passwords using Windows
hook and WM_GETTEXT
Get
Business Card / Label
Print Component
C++ Source
Codes
c / c++
drawing tool, C++ Drawing Component, VC++
Source Codes
MFC
Topics: CTreeCtrl, CListCtrl,
SetItemData, GetItemData, InsertItem
VC++
MFC Example: The CPageSetupDialog Class
VC++
Tool: RTF-to-HTML
Converter, Convert Rich Text to HTML Example
Add proto - logic diagram displays to your
Java, C++, and .NET applications, for the desktop and rich
internet applications.
UML
Diagram Component / Drawing C++ Source Code Solution from ucancode,
it will save you 50% - 80% time for building any UML based application.
E-XD++
GDI Drawing Example: Drawing ADDL Package Shape
VC++ Controls: The
Tree Control,
CTreeCtrl Example
VC++
Example:
CToolBar, ToolBar Customization,
Saving, Restoring and Drag and Drop
VC++
MFC Tutorial: A simple intorduction to using the
MFC
collections CArray, CList and CMap, Free Source Code Download
VC++
MFC Tutorial: The CPrintDialog Class
VC++
Example: CListBox - A list box with Icons,
AddString, InsertString, with Image Item
VC++
Article: Skin based slider control,
CSliderCtrl
VC++
Example: CComboBoxEx with History, ComboBox,
CComboBox to history!
VC++
Article: Create
menus with Unicode, ModifyMenu, GetSubMenu
VC++
Example: Write, Create AVI Files
VC++
Example: Listbox
In-place Editing, CListBox, Text Input
VC++
Single Instance Window, CreateWindow, CWinApp,
SetWindowPos, SetFocus
VC++
Example: Change the background color of a dialog, CDialog,
OnCtlColor
VC++
Article: Create Cursor, Display cursor, Convert
bitmap to cursor, CreateIconIndirect, DeleteDC, SelectObject,
ICONINFO
VC++
Article: create or change the skin, shape, image
of dialogs, SetWindowLong
VC++
MFC Tutorial: Create MFC Extension Dll, Export MFC
Classes
VC++
Example:
Display GIF-animatE using GDI+ with BMP,
JPEG, PNG, TIFF, EMF, WMF, DrawImage
_TrackMouseEvent, GetWindow,
GetWindowRect, SubclassWindow, GetWindowLong, SetWindowLong,
Drawing, VC++, source code
VC++
Debug Trace, Memory Check, Assert Article, DebugOutputString CMemoryState
A C++ Projects
VC++
MFC Example: Place
Combo Box, Edit Box, Progress Control, Check Box
on toolbar, CComboBox, CEdit, CCheckBox
VC++
XML Read and Write Article: C++ Source Code
for Creating and Processing XML documents
VC++
Example:
CFormView,
Replace a
view in SDI Application, LoadLibrary,
GetProcAddress, GetActiveView, AfxGetMainWnd,
SetWindowLong
VC++
Example: HRGN,
SetWindowPos, SetWindowRgn, Create
Region from bitmap file
C++
and VC++ Code Generator Tool, Free UML Class Diagram
Drawing Tool
VC++
MFC Tutorial: Property
Pages for ActiveX Controls, COlePropertyPage,
GetIDispatch
VC++ Example:
RegisterWindowMessage, WM_USER, ON_NOTIFY
VC++
Articles: Create Thread,
CWinThread,
AfxBeginThread
MFC Article:
XP Style
CBitmapButton
VC++ .NET Programming,
Writing a Wrapper for COM Components
VC++
Article: Create
2d graphics editor, AutoCAD, like Toolbar
VC++
Article: Insert a bitmap file - HBITMAP into a
Rich Edit Control, use
COleDataSource, CF_BITMAP, and STGMEDIUM
VC++
Article: Create
2d graphics editor, AutoCAD, like Toolbar
C++
Example: Formula Editor,
and mathematical control with Drag Drop,
Copy, Cut, Paste, Export to image support.
C++
Article STL
Iterator and the
VC++ MFC Iterator
VC++
Tool: MFC GDI Plus thumbnail
CListCtrl,
BMP File, Jpeg file, Gif File, Tiff file
Com
Programming: Com
Component, ATL Library, Com Interface, QueryInterface
Example
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++
Programming: Docking Toolbars
and CControlBar, Side-By-Side, EnableDocking
VC++
Tutorial: Custom CListBox
- A ListBox with Radio
Box, DrawFrameControl, DrawFocusRect
VC++
Sample: Quick Sort for
CStringArray
VC++
Source Code Tool:
Project number Line code Counter Statistical
VC++
Demo: Drop down Combo Box in CTreeCtrl and
CListCtrl
VC++
MFC ActiveX Control Article, COM Drag - Drop
Example
VC++
MFC Sample Code:
Transparent bitmap splash screen
VC++
Example: A few skin library with source
codes
VC++
Example: Sizing
Control Bar with Tab Control, DockControlBar
COleDateTime,
Get first day of week, COleDateTimeSpan, VC++
Example
VC++
Example: Control for
Load and View Bitmap file, ScrollBar
VC++
Tool: MFC under the hood,
WinMain,
VC++ Programmer
Visual C++ Addin:
CFileDialog
AddIn, Download Example
VC++
Example:
Store Bitmaps into an Array, CBitmap,
CreateBitmapIndirect
VC++
MFC Tutorial:
Unicode, MBCS and Generic text mappings
VC++
MFC Source Code: Read, Write and
Play GIF89A Gif image file, Example Download
C++
Article: Compuware,
BoundsChecker, Tracking GDI resource memory leaks
VC++
Sample:
MP3 Player with C++ Source Code, Play MP3 File
VC++
Tutorial: Drag
and Drop Draw with Mouse by Using SetCapture, ReleaseCapture,
TrackMouseEvent
VC++
GDI Example: Draw
an periodic
Table
shape
VC++
Article: Print
ListCtrl on multiple pages, CListCtrl, CListView
VC++
Article:
CTreeCtrl, OLE Drag and Drop Copy between
Tree controls
VC++
Example Source: 2D Chart and 3D Plot Print Chart Control
VC++
Example: Free
ActiveX Grid Control (Written with MFC
Source Code)
VC++
Example: ToolBar
with ComboBox, add CComboBox to CToolBar
VC++
Article:
Color
components, RGB Component, HSL Component Source
Code, editor control
VC++
Article: CListCtrl, CListView to displaying jpeg
image thumbnails with PaintLib
VC++
Article: CSplitterWnd Extension that
Allows Create Multiple Views, and
Switch Views in Any Pane
VC++
Example: Macintosh-like Progress Control,
CProgressCtrl in Dialog
VC++
Example: How to print an ActiveX MSChart
Report
Chart control
Component, Source Code

"Diagramming
business logic when developing a custom application is a time-consuming,
tedious—and necessary—process. With E-XD++ Diagramming Source Code
Kit, you can spend more time focusing on the finer points of your
customer's business and less time worrying about making the business
process diagram look good. "
| http://www.ucancode.net/
VC++ Source Code!
|
VC++ Source Code,
VC++ MFC Source Code web site |
| A
cool year selector with C++ source code
|
Year selector VC
Source Code |
| A
COOL Picker
Library with full VC Source Code
|
VC++ Code
Sample Project |
| A
GDI pattern brush tool with VC++ source code
|
From ucancode
software, vc++ source code |
|
|
At the
moment, this list is grouped by web site, since this is the easiest
way to maintain the data. In the future, when the list becomes so
large that this grouping becomes a burden, it will be split into
categories.
| WEB SITE |
DESCRIPTION |
Zafir
Anjum
Home Page
|
Zafir's "Code Guru" site contains a good amount of VC++
source code
(with explanations and instructions on how to use them). He's
compiled a number of topics on CListCtrl and CTreeCtrl,
and he's actively adding/seeking more. |
Jason
McGuiness
Math classes
|
Jason
has developed an MFC/C++
Extension DLL that contains various math classes. It
has over 300 functions in it that cover many mathematical
number systems: complex numbers, 4-vectors, 5x4 matrices to
name just a few. It is currently in development and at alpha
release.
Also on this page is an ultimate
system timer. This is an MFC/C++
extension class that wraps the Pentium RDTSC assembler
instruction. Basically this provides you with a counter that
increment's at the host processor's clock core frequency (!).
|
Ulrich
von Zadow's
paintlib |
Paintlib
is a C++ class library (Source
Code) for image file decoding and
manipulation. It currently supports the TGA, TIFF,
JPEG/JFIF,
Windows BMP, and Mac PICT formats. Data source and destination
formats can be tailored as nessesary. Additionally,
format-independent but fast bitmap manipulation classes are
available.
Although there are a few
Windows-specific functions, the library is portable. Makefiles
are included for Microsoft Visual C++
(Win32) and GNU C++
(DOS and SunOS). Prerequisite is a C++-compiler
with standard C libraries and support for exception handling.
The library also requires support for 32-bit memory
addressing.
|
Bartosz
Milewski's
Win32 tutorials and sample C++ code Site |
Fast Fourier Transform
app and FFT source code.
Windows controls, device
contexts, pens, brushes, etc.
A tutorial on the acquisition
of sound samples using Win32 API.
The game of Battleship.
|
| Arkady
Elterman's Site |
Spin Control Library.
|
| Hypercube
Freebies Page |
Hypercube has broken out some
classes from its HyperView++
for MFC extension class library:
CCustToolBar -- A
customizable toolbar class. CCustToolBar encapsulates the
Win95 toolbar common control into an MFC toolbar class. Extra
features include the ability to serialize the toolbar to the
registry or to disk, and the ability to handle customization
of toolbars with controls other than buttons and reserved
painting areas. You can also pop up a customization dialog
that allows the user to add or remove any icons he chooses.
COCXInsertDialog -- An
MFC class for selecting an OLE control from a dialog
containing all of the OCX's (represented by their small
bitmaps and text descriptions) available from the registry.
Very professional, very
slick. Highly recommended.
|
| David
Carballo Escudero's Home Page |
Date Calendar Extension
-- Offers an edit for input of dates (times are not allowed).
Also offers a pop-up window that shows a calendar, allowing
the user to select a date. All aspects of calendar and edit
control depends on regional settings. Changes in regional
settings are detected.
|
| P.J.
Naughter's Home Page |
Mr. Naughter has written a
few interesting classes( c++ source
code )and components:
- DTime - A
Collection of Date and Time classes
- Notpad - An
improved text editor for Windows 95 and NT
- DtWinVer - A
comprehensive OS detection routine
- PushPin - A pushpin
button class
- Splasher - An
improved splash screen component for MFC 4.x
|
| Poul
A. Costinsky's Programmer's Archive |
Mr. Costinsky is a very
prolific programmer, and lucky for us, he's also a very
generous one! There's lots and lots of stuff at this site. The
best thing to do is visit it, and see for yourself. Here are
some of the categories his efforts have encompassed:
- Pointer Classes
- Win32 Memory API Wrappers
- File Management Classes
- String Classes
- Storage Classes
- Algorithms
- Multithreading
- Client-Server
- MFC Extensions
|
| NanoSoft
Home Page |
NSViews C++
Library -- MFC
extension classes (that live in a DLL called NSViews.dll) for
Flexible Dialogs, Flexible Property
Sheets, Flexible Form
Views, and Flexible Property Sheet Views. Now your users can
dynamically resize your dialogs, and all the controls within
are automatically sized the way you want them to be.
The site has several graphic
examples, plus sample C++ source code
to show how it's all put together.
|
| Julian
Smart's Site |
Command/undo classes
-- A little framework for implementing Undo/Redo in
MFC
applications. It consists of two classes, CCommand and
CCommandProcessor. The supplied example is a doodling program
with two undoable/redoable actions: Add segment, and Cut
segment.
DDE classes -- MFC
classes for doing DDE: CDDEServer, CDDEClient and
CDDEConnection.
CImage -- A beta class
for manipulating images: JPEG/BMP/PNG
saving and loading, GIF
loading, and iteration over the image data.
CTimer -- A timer
class for MFC, which unaccountably omits one.
CExpr -- Classes for
reading and writing structured ASCII files. Do you ever get a
little frustrated with maintaining binary file formats? Things
like not being able to edit your data files in a text
editor,
or the trouble it takes to maintain changes in your file
formats. This class makes prototyping file formats a lot
easier and more maintainable than using MFC/VC++
serialisation, allowing you to save a file of 'objects' with
named attribute/value pairs. If you need to add or remove
attributes in the next version of your application, old files
are still easily readable without loads of if statements.
CEnhStatusBar -- An
enhanced status bar class for MFC/VC++.
Adds scrollable status messages, pane tooltips and a progress
control.
|
| Paul
Gerhart's Site |
SockTest -- A Sockets
(winsock) Tester
GridList -- An
Owner-draw CListCtrl Example
|
| Richard's
Programming Page |
The CParagraph class
-- Takes care of the sizing and displaying of a block of text
in a graphic display. I found that I often needed to display a
block of text within another graphical shape that was
resizable and the text would need to fit inside the shape at
all times. The problem was that I would need to check if the
text fitted correctly, I would then need to break up the words
according to the available space, and so on, it required a bit
of effort. This class takes care of word breaks and sizing,
all it requires is that you tell it the width and height of
the block.
|
| Mike
Blaszczak's Site |
apibrow.zip -- This
project is designed to be used with Visual
C++ 4.1. The project demonstrates the use of common
control callback items in an MFC application that manages a
CListCtrl control in a CListView. The
sample parses any
comma-separated variable file, such as the WIN32API.CSV file
found in your \MSDEV\LIB directory.
doodads.zip -- This
project is designed to be used with
Visual C++ 4.1. The project demonstrates many
Windows common controls, including the extensive use of image
lists. The project was used in the book "The
Revolutionary Guide To MFC 4 Programming With Visual
C++", published by Wrox Press. The sample was
also used during the talk "Using Windows Common
Controls", offered at Boston University's WinDev
conference.
fully.zip -- FULLY
shows how to make an MFC application make one of its views go
full-screen active. It was written to be published in one of
the staple-bound newsletter-style journals on Visual
C++. After the editor for the magazine requested
it, he summarily ignored my communication surrounding the
program and its supporting article. The
article, completely
unedited, is included in this archive and describes the sample. Complete source for the program is included. This
sample was written with a beta version of VC++
4.1 and tested with the shipping version of VC++
4.2. The sample was not tested to work correctly
under Windows NT 3.51: it's only been tested for "new
shell" versions of Windows: namely, Windows NT 4.0 and
Windows 95.
mfctalk.zip -- MFC
TALK
was originally published with Mike's article on ISPAI
programming with MFC in the May, 1996 issue of Microsoft
Systems Journal. The sample demonstrates how to write an ISAPI
application with the MFC classes introduced in
MFC version
4.1. The sample shows how to use synchronization objects
(specifically, a CCriticalSection) to protect data handled by
individual requests from corruption across threads.
stealth.zip -- This
SDI application shows how to create an application that
doesn't show up in the task bar in Windows 95 or Windows NT
4.0. (The application shouldn't show up in the task list in
Windows NT 3.51, either, but I'm not at liberty to test that,
I'm afraid.) The application shows how to override
PreCreateWindow() for your CMainFrame, using
AfxRegisterWndClass() for your own windows, and stresses the
difference between a parent window and an owner window. the
changes in this application, above and beyond what the
AppWizard produces for an SDI application, are all marked with
//SAMPLE: comments. This is an VC++
4.2 project.
|
| Sam
Blackburn's Site |
WFC (Win32 Foundation
Classes) -- extends MFC to do NT specific things. Very
extensive: contains lots and lots of classes.
|
| FTP |
pushpin.zip -- Source
code for a complete class to implement push pin buttons as
seen on the OpenLook Window manager on X-Windows and property
dialogs in Developer Studio in MS VC 4.X.
|
| FTP |
Tabbed Dialog Box in VC++
1.5x
|
| CICA
Archives |
A wide variety of sample
code, but it's mostly older stuff. Still, with some diligence,
you might find some gems. Here are a few that look
interesting:
bstate.zip --
CBStateButton, an MFC class based on PushButton.
cktblmfc.zip --
Spreadsheet Control for MFC 2.5.
cstr22.zip -- String
Studio, an MFC 2.5 CString extension.
|
| Ed's
Windows Libraries |
Appbar MFC class --
"An MFC class that implements appbars. Appbars are
windows that stick to the sides of the desktop. The task bar
is an example of one. The class isn't very useful by itself,
it's meant to be a starting point for real applications."
Color quantization DLL
-- "This is an old dll that I threw together over one
weekend to perform color quantization on 24-bit
device-independent bitmaps. It's very disorganized and really
needs to be rewritten. I may actually get around to it one
day."
TabDlg Custom Control
-- "This is a custom control that I wrote to implement
Word 6.0 style tabbed dialog boxes. I've thought of better
ways of implementing it since I wrote this version, but I've
since moved on to 32-bit programming so I just use the native
implementations."
|
| Per
Ghosh |
Text class -- A class
that is very similar to CString but is not in the
MFC so you
can add the functions that you want.
ActiveX -- shows how
you can use the ATL (ActiveX Template
Library).
Modal window -- Shows
how to make your own window modal. The sample uses a frame.
Tab view -- Have you
ever looked at Excel or some other program that can switch
views by clicking on a tab. This approach makes it more easy
for a user to work with a document that can't be manageable in
just one single view.
Custom control --
Shows how you can develop controls that extends the
functionality of standard controls, and how to develop a
control from scratch.
PropertySheet -- shows
how a properysheet can be placed in a window and how you can
set the position and size.
|
|
|