Home | Products | Download | Purchase | Support 



 

 

 

XD++Library
Features Tour 
What's New
Download Area
Purchase
License agreement
General Q & A
UCCDraw ActiveX
Features Tour
Download Area
Purchase
DocVizor
Features Tour
Why need DocVizor
Screen Shots
Download Area
Purchase
TFC Library
Features Tour
Screen Shots
Download Area
Purchase
Free Products
A Cool Year selector
Project backup tool
Rename project tool
Replace all in files tool
A cool color picker
Technical Support
General Q & A
Report A Bug
Suggestions
Discussion Board
Contact Us

Links




Get Ready to Unleash the Power of UCanCode .NET

 
   

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 new VC++ Source Code link dies, please contact me.


VC++ Tool: Visual C++ and SQL generator for ODBC Database, with source code sample

C/C++ Articles Links

Visual Studio 2010 in VC + + Parallel Construction of tuning

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

Free EMF to SVG File Convert Tool

C/C++ UML Tool Links

VC++ Sample: Multiple Views layout of RepositionBars and DeferWindowPos with RecalcLayout and UpdateAllViews

VC++ MFC Tutorial: Undo Redo Source Code

CTaskDialog in MFC in Visual C++ 2010

Free Codes with BITMAPINFO BITMAPINFOHEADER and CreateDIBSection

CListView Loading Images BMP, PNG, GIF, JPEG, WMF, ICO, and EMF Files

Date-Time Edit Control A simple masked date-time editor. VC++ Article Source Code and GetWindowText

VC++ Example: Retrieving lost passwords using Windows hook and WM_GETTEXT

Get Business Card / Label Print Component C++ Source Codes

Visual C++ 2010

MFC Source Code: Draw Text with GetCurrentFont, GetTextExtent and GetLogFont and MoveToEx

MFC Sample Code: Load and Display PNG Image File

Context menu with OnInitMenuPopup and TrackPopupMenu and IsClipboardFormatAvailable Visual ++

VC++ MFC Example: Create or show Progress Bar/Edit Control/Combobox Control/icon in a status bar

CDialogBar, CBitmapButton in Dialog Bar, SubclassDlgItem and EnableDocking VC++ Example

C# Example: Free Draw .NET GDI+ Gauge Control with Source Code

Spell Checker with VC++ Source Codes and CStringArray with TrimLeft, TrimRight and CompareNoCase CWaitCursor

GDI+ Example:  Draw Curve ActiveX Control GraphicsPath and Graphics

GetDeviceType and _splitpath with lstrlen and lstrcat

VC++ Code: Drag and Drop File in Dialog with WM_DROPFILES and WM_NCLBUTTONDOWN

VC++ Example: Loading DLLs LoadLibrary and GetProcAddress and FreeLibrary

c / c++ drawing tool, C++ Drawing Component, VC++ Source Codes

Create VC++ MFC Chart Control,  Drawing and Priint Bar Chart, Source Codes

Multiple Monitor Support with GetSystemMetrics and AfxRegisterWndClass VC++ Example

MFC Example Retrieve color from desktop with CreateDC and GetCursorPos, GetPixel

MFC Topics: CTreeCtrl, CListCtrl, SetItemData, GetItemData, InsertItem

MFC Example: WM_KICKIDLE and CCmdUI and ON_UPDATE_COMMAND_UI and WM_IDLEUPDATECMDUI

Draw Rotate Text with GetTextExtent and SetTextAlign and ExtTextOut, VC++ Example

MFC Sample Code: TrackMouseEvent and GetCapture or SetCapture and ReleaseCapture and GetCursorPos

VC++ MFC Example: The CPageSetupDialog Class

Get file or folder time and set file or folder time, FindFirstFile and FindNextfile with  GetFileAttributes vc++ example

Visual C++ Example: Load DIB Bitmap File and Save Bitmap file and Convert dib to bitmap and rotate bitmap file

VC++ Article Draw Rotate / slant text strings SetWorldTransform

VC++ Example CFilterEdit Regular Expression : Use Regular Expression to Filter Your Input, Boost C++ Library

MFC Article: Create toolbar with SetButtons and SetButtonInfo and OnNotify

MFC Source Code: File dialog with image preview WM_QUERYNEWPALETTE and WM_PALETTECHANGED

VC++ development Sample: Build and Setting Multiple workspaces and project

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.

VC++ MFC Example: Sharing file folders using tree control drag & drop

MFC MDI and SDI Example to create ruler scrollview and splitter

Create Multiple Language to MFC Extension DLL Toolkit with Resource only

UML Diagram Component / Drawing C++ Source Code Solution from ucancode, it will save you 50% - 80% time for building any UML based application.

VC++ Source Code Example: Create TIFF File and Write Tiff file and Read Tiff file

MSBuild VCBuild VBBuild Features for Visual C++ Project

VC++ Codes: GetRandomRgn  or MapWindowPoints or OffsetRgn, GetDCEx with GetClipBox, GetClipRgn and SelectClipRgn

E-XD++ GDI Drawing Example: Drawing ADDL Package Shape

CEdit-derived Hyper link control, so user can edit hyper links

Draw transparency  image file, Alpha Blending using GDI+ Sample

MFC Example: Rows of CToolBar and CToolBarCtrl, with CalcDynamicLayout, with SetRows CBRS_ALIGN_TOP , CBRS_SIZE_DYNAMIC and FloatControlBar

VC++ Controls: The Tree Control, CTreeCtrl Example

MFC Library: Drawing Spline application with OpenGL with sample Source Code

MFC Source Code: SQLPrepare and SQLAllocStmt with CDBException and SQL Query and ExecuteSQL

VC++ Printing Article with Printing Text and Printing Table, Printing Jpg and Gif and PCX

Visual Studio example and Visual Studio Tutorial and mfc tree control

VC++ Example: SaveDC and RestoreDC, IsPrinting and GetSysColor

MFC Example: CreateFile and WriteFile with save memory dc to bitmap file

VC++ Article: Draw Image Background and CScrollView text with bitmap brush and PreCreateWindow

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++ Sample: ExtSelectClipRgn or IntersectClipRect, ExcludeClipRect and OffsetClipRgn or GetMetaRgn with InvalidateRect

E-XD++ GDI VC++ Drawing Example: Drawing Pie Progress Control Shape

Using GDI+ with MFC or native C/VC++

VC++ Example: CListBox - A list box with Icons, AddString, InsertString, with Image Item

VC++ Article: DECLARE_SERIAL and IMPLEMENT_SERIAL and serialize data from or to disk

VC++ Article: Skin based slider control, CSliderCtrl

E-XD++ GDI VC++ Drawing Example: Draw Animate Line with CBrush

VC++ Example: CComboBoxEx with History, ComboBox, CComboBox to history!

Draw or Paint Spline Curve Line with VC++ Source Code

VC++ Article: Create menus with Unicode, ModifyMenu, GetSubMenu

CAM simulator Sample with VC++ MFC Source Code

Visual C++ and MFC Appwizard: CMDIChildWnd with CenterWindow AfxGetMainWnd

VC++ Example: Read font from file name, TTF Font name CFile and Open

DPtoLP and LPtoDP, CPrintInfo and GetDeviceName and DOCINFO with StartPage and EndPage, VC++ Printing

VC++ Grid Control Library Source Code Based on CListCtrl

Store and read from XML File with .NET and C# framework, C++/MFC Example

MFC Library Article: Create Database with SQL Server and ADO Stored Procedures

VC++ Example: Write, Create AVI Files

VC++ Example: Listbox In-place Editing, CListBox, Text Input

MFC GDI+ Sample: gdiplus.lib with GdiplusStartupInput and GdiplusStartup with GdiplusShutdown

MFC Source Code: WindowFromPoint and GetDlgItem or ScreenToClient

SCADA Automation Programming Tool And visualization component Control VC++ Source Code Solution

Create MFC VC++ Static Library, UpdateData and LoadIcon

MFC Example: Copy, Move and Delete files and rename directories,  SHFileOperation and CFileFind and FindFirstFile with FindNextFile

VC++ Single Instance Window, CreateWindow, CWinApp, SetWindowPos, SetFocus

MFC visualisation software: Create and draw Thumbnail View with CWinApp and CDocTemplate and CMultiDocTemplate

VC++ Example: Change the background color of a dialog, CDialog, OnCtlColor

VC++ MFC Ruler Control with Source Code, AfxGetResourceHandle, LoadStandardCursor and RegisterWindowClass

Draw Curve Line with VC++/MFC visualization Control

Real-time Chart, VC++ Source Code with SImulation Software

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++ Article: PARSE AND write XML file with Microsoft MSXML 4 of C++ Wrapper

Visual C++ Article: free image library with image viewer with CxImage and CListCtrl thumbnail images

Draw Real - time data bar chart control MFC Source Codes

Add Skin to your Visual C++ MFC application, download source codes

.NET Article: Draw 2d and 3d text with GDI+, and Draw Shadow text and  Emboss text with Visual C++ Source Codes

VC++ MFC Tutorial: Create MFC Extension Dll, Export MFC Classes

MFC Example: Create Multiple Thread with CreateThread and CWinThread and SuspendThread and ResumeThread

VC++ Sample: Convert EMF to WMF using GDI+

VC++ Example: Draw or display Real-time data plot Chart

Add Phthon in or into C++ Application with Visual C++ Article or Tutorial Source Code

VC++ Example: Add VBScript and JScript support in VC++ applications with Script ActiveX Control MSSCRIPT.OCX

VC++ GDI Example: GDI AlphaBlend  and Bitmap Alpha

OLE DB Sample, Database, Atldbcli.h,CoInitialize, MoveNext Visual C++ Example

MFC Example: Docking CSizingControlBar Windows inside ActiveX Control with CFrameWnd and SetTimer

MFC Example: CoInitializeEx and SHBrowseForFolder  with file folder browser

VC++ Tips: LOGBRUSH and PS_DOT and PS_SOLID and PS_COSMETIC and PS-ALTERNATE

VC++ Article: Calculate the width of text with GetTextExtentPoint32, DT_CALCRECT and GetCharABCWidths

VC++ Article: CTreeCtrl and GetRootItem, GetItemRect and GetNextItem with Printing Tree View and CreateBitmap

MFC Article: Creating Self-Extracted Executable file with open-source compression libraries

Introduction to GDI+ in .NET

GDI+ Font, Brush and Bitmap

GDI+ GraphicsPath and LinearGradientBrush

GDI+ Printing.

GDI+ and DrawArc and DrawPath

GDI+ Color and ARGB with Example

LoadResource FindResource and LockResource, with UnlockResource or VC++ Sample

Free VC++ MFC Grid Control with VC++ Source Code

VC++ Example: Display GIF-animatE using GDI+ with BMP, JPEG, PNG, TIFF, EMF, WMF, DrawImage

VC++ Example and Article: Drawing Double Buffering With GDI+

VC++ Example: Load or Save Dib Bitmap File, GetScrollPosition and FillRgn or CombineRgn and Create Cursor

VC++ Ado Tutorial with VC++ Ado Sample and VC++ Ado Example

Visual C++ 2010 Article: MFC  Thumbnail Preview and Com DLL with Com Interface

VC++ MFC Codes: Display Message Balloon Tip Window with SetWindowRgn and CreateRectRgn and CombineRgn

Full Screen with CWnd and Diagram Like Microsoft Visio 2007

AfxGetStaticModuleState and LoadLibrary of GetProcAddress and FreeLibrary MFC ARTICLE with LOAD DLL

Open Souce VC++ Code  and MFC Code Site, VC++ FAQ Site and Tutorial Site

_TrackMouseEvent and GetWindow GetWindowRect and SubclassWindow with GetWindowLong SetWindowLong Drawing VC++ source code

VC++ Debug Trace Memory Check and Assert Article and DebugOutputString CMemoryState A C++ Projects

VC++ MFC Example: Adding VBScript and JScript support in your C++ applications

MFC Multiple Page Print preview Article and CPrintPreviewState, it with CPrintPreview and DoPrintPreview, LPDEVMODE and GetPrinterDeviceDefaults

VC++ MFC Example: Place Combo Box, Edit Box, Progress Control, Check Box on toolbar, CComboBox, CEdit, CCheckBox

MFC Example Multiple monitor support with GetSystemMetrics EnumDisplayMonitors and GetMonitorInfo

VC++ XML Read and Write Article: C++ Source Code  for Creating and Processing XML documents

VC++ Example: CFormView and Replace a view in SDI Application with LoadLibrary, GetProcAddress and GetActiveView and AfxGetMainWnd, SetWindowLong

VC++ Example:  HRGN, SetWindowPos, SetWindowRgn, Create Region from bitmap file

VC++ Example: Return or Esc Key with EndDialog and OnSysCommand

C++ and VC++ Code Generator Tool, Free UML Class Diagram Drawing Tool

VC++ Codes: bitmap and bmWidth with bmHeight, biBitCount

VC++ Codes: BeginPaint and EndPaint, CPaintDC, CClientDC, GetDC and ReleaseDC

MFC Sample: Add status bar to an MFC dialog, CStatusBar

VC++ Control: Spell Checker Control Source Code

VC++ MFC Tutorial: Property Pages for ActiveX Controls, COlePropertyPage, GetIDispatch

VC++ Example:  RegisterWindowMessage, WM_USER, ON_NOTIFY 

VC++ Example: splitter control in dialog UpdateWindow GetWindowRect GetDlgItem

VC++ Code: Change the font of window with SetFont and EnumChildWindows and CreateIconFromResource

VC++ Articles: Create Thread, CWinThread, AfxBeginThread

Visual C++ 2008 Feature Pack: MFC Visual Studio Office 2007 Style Enhancements

MFC Article: XP Style CBitmapButton

VC++ .NET Programming, Writing a Wrapper for COM Components

VC++ Article: Create 2d graphics editor, AutoCAD, like Toolbar

C++ Barcode source codes with draw Code39 Code93 AND Code128A  Code128B with Code128C

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

Visual C++ Codes: BITMAPINFO, GetDIBits, BITMAPINFOHEADER, PBITMAPINFO, RGBQUAD, DIB_RGB_COLORS

VC++ MFC Example:  CTreeCtrl, Create Tree Control

VC++ MFC Project Setting, Unicode, MBCS,_MBCS or _UNICODE, wWinMainCRTStartup

MFC Sample: Display or Create Splash Screen, Show Transparent Bitmap with SetWindowRgn

Converter Convert RTF to HTML with VC++ Source Codes, and RICHED32.DLL

VC++ Article: UnrealizeObject and SetBrushOrg or GetSystemMetrics with Pattern Brush

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

Create HTML Help and HTML help workshop with HtmlHelp VC++ MFC Example

VC++ Programming: Docking Toolbars and CControlBar, Side-By-Side, EnableDocking

VC++ Example Capture Print Screen to Clipboard including dropdown menu, SetWindowsHookEx and UnhookWindowsHookEx, with RegisterWindowMessage

VC++ Tutorial: Custom CListBox - A ListBox with Radio Box, DrawFrameControl, DrawFocusRect

VC++ Sample: Quick Sort for CStringArray

Day, week, month calendar control with vc++ source code,MS OutLook Look

VC++ Source Code Tool: Project number Line code Counter Statistical

VC++ Demo: Drop down Combo Box in CTreeCtrl and CListCtrl

VC++ Codes: Draw text along line and draw rotate text

VC++ MFC ActiveX Control Article, COM Drag - Drop  Example

MFC Article: Keep an Window Always on Top with WS_EX_TOPMOST and OnWindowPosChanged

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++ Sample: Create Shadow of bitmap, draw shadow with GDI, TransparentBlt, SetBitmapBits and GetBitmapBits or GetRValue, GetGValue and GetBValue

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


First time here?

Product Tour
E-XD++ product walkthrough

Screenshots
Applications built on E-XD++

Product feature comparison

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.

 



[ Home | Products | Download Area | Purchase | SupportContact us ]


Copyright ?1998-2009 UCanCode.Net Software, all rights reserved.
Other product and company names herein may be the trademarks of their respective owners.

Please direct your questions or comments to webmaster@ucancode.com