The Wayback Machine - https://web.archive.org/web/20090805060906/http://www.codeguru.com:80/cpp/w-d/doc_view/

CodeGuru
Earthweb Search
Login Forums Wireless Jars Gamelan Developer.com
CodeGuru Navigation
RSS Feeds

RSSAll

RSSVC++/C++

RSS.NET/C#

RSSVB

See more EarthWeb Network feeds

follow us on Twitter

Member Sign In
User ID:
Password:
Remember Me:
Forgot Password?
Not a member?
Click here for more information and to register.

jobs.internet.com

internet.commerce
Partners & Affiliates
















Home >> Visual C++ / C++ >> Windows & Dialogs >> Doc/View


Doc/View

Background



CFormView Class with Custom Background Color
Rating: none
Patty You - 10/01/2002
CFormView Class with Custom Background Color

A Custom MDI Client Class
Rating:
Bogdan Ledwig - 04/03/1999
A Custom MDI Client Class

Animated Background Banner
Rating: none
Juan Carlos Urbina - 01/15/1999
Animated Background Banner


CHtmlView



Multiple Browser Windows in an App.
Rating: none
Vikram Kashyap - 01/23/2002
Open multiple sites in one window.

IDocHostUIHandler Extended CHtmlView
Rating: none
R. Lake - 07/29/1999
IDocHostUIHandler Extended CHtmlView

Using HtmlView apart from Tecno Preview
Rating: none
Iuri Apollonio - 08/06/1998
Using HtmlView apart from Tecno Preview


Command Routing



Command routing beyond a split frame
Rating: none
Bartosz Bien - 07/27/1999
Command routing beyond a split frame


Control Views



Turn Any CWnd-Derived Control Class into a View
Rating:
Tom Archer - MSFT - 05/20/2000
Using the CCtrlView class you can easily make any of your controls act as views

How to Create a Custom View to Wrap Your Own Control
Rating: none
Charles Calvert - 01/30/2000
How to Create a Custom View to Wrap Your Own Control


DDX/DDV



Dynamic Data Exchange (DDX) Internals
Rating:
Roger Onslow - 04/13/2001
Takes you into the internals of Dynamic Data Exchange in terms of what it is, how it works and best of all, how we can improve its functionality and use.


Doc/View



Using the Document/View Architecture with a DLL
Rating: none
Roger Allen - 10/17/2000
Illustrates with demo code how to use Documents and Views that have been exported from a DLL


File Open/Save



Getting Past the 2 Gb File Limit
Rating:
Richard Newcombe - 01/22/2007
Take a closer look at the 2 Gb limit that we are plagued with in different languages, and how to get around them.

Manipulating the File Open/Save Filters
Rating: none
Sridhar Rao - 07/29/1999
Manipulating the File Open/Save Filters


Help



HTML Help In CView Window
Rating: none
Jeffrey T. Miller - 08/07/1998
HTML Help In CView Window


MRU (Most Recent Used file list)



MRU Dialog
Rating: none
Ricardo Belfor - 09/27/2000
Dialog, that when your app is started without parameters, presents the user with a list of most recently opened file

Multiple MRU lists (2)
Rating: none
Jorge Lodos - 03/20/1999
Multiple MRU lists (2)

Open most recent file (3)
Rating:
Robert Kelly IV - 08/07/1998
Open most recent file (3)

Open Most Recent File
Rating: none
Adam Solesby - 08/06/1998
Open most recent file

Open most recent file (2)
Rating: none
Izidor Gams - 08/06/1998
Open most recent file (2)

Multiple MRUs, and MRUs on Submenus
Rating: none
Todd C. Gleason - 08/06/1998
Multiple MRUs, and MRUs on Submenus


Message Maps



Templatizing Your MFC Message Maps
Rating: none
Aliaksei Sanko - 02/15/2001
Innovative way of declaring message maps using templates. Much cleaner than current two-step MFC way!


Misc



Animate an Icon on the Taskbar when the Application Is Minimized
Rating:
Kevin Choong - 10/05/2006
Learn how to loop through an icon sequence, simulating animation, while your application is minimized.

Working Around a VS .NET 2003 DDE Bug
Rating:
John Z. Czopowik VC++ MVP - 11/15/2004
An MDI or SDI application supporting DDE, created by VS 7.1 (.NET 2003), fails to open a document using DDE (Dynamic Data Exchange). Learn an easy way to rectify this problem.

Setting Extended Styles of Controls, Dialogs, Dialog Bars, and Property Pages at Runtime
Rating: none
Stefan Kuhr - 07/23/2004
Set extended styles of controls, dialogs, dialog bars and property pages at runtime for DIALOG and DIALOGEX resources.

Multiple File Selection Without Any Extra Code
Rating: none
Sriram V - 11/04/2002
See how to select multiple files from the Open File dialog without creating a new class.

Automatic Doc/View File Encryption/Decryption
Rating: none
Neal Horman - 09/27/2002
Learn how to re-derive a CDocument class to gain automatic file encryption and decryption that includes backward compatibility of existing files. (Encryption applicable to other areas as well.)

How to use a personnal New Document Method
Rating:
SCAGNI Sibastien - 10/10/2001
This is a simple way to use a personnal dialog that appears when your application uses more than one document template and you click the 'new' button, or during the start of the appliacation.

Selecting multiple files in File Open dialog
Rating: none
Klaus G|tter - 08/06/1998
Selecting multiple files in File Open dialog

An ini-like save system
Rating: none
Iuri Apollonio - 08/06/1998
An ini-like save system


Printing



How to Determine Whether a Printer Supports Color
Rating:
Mike Harnad - 03/25/2004
Learn how to determine whether a printer supports color printing.

Print Preview in MDI Frame
Rating: none
Andreas Claus - 01/15/1999
Print Preview in MDI Frame


SDI



Changing the Default Background Color in an SDI Application
Rating:
Nnoye - 02/06/2003
SDI applications created with MFC comes with a default background color of white. Learn how to implement any color you desire.


Scrolling



Colorizing the Scroll Bars of Your Application's Window (not yet reviewed)
Rating:
Habeeballah Hasnoddin - 03/27/2006
Learn how to colorize the scroll bars of your application's Window.

Look Closer with QZoomView
Rating:
Sjaak Priester - 10/15/2003
Build an extended CScrollView with added zooming capabilities. (The article and demo project/source code file were updated.)

PageCounter Object for ScrollViews
Rating: none
Volker Voecking - 04/16/1999
PageCounter Object for ScrollViews

Breaking the CScrollView 32768 size limitation with CBigScrollView
Rating: none
Lanz Jean-Claude - 02/14/1999
Breaking the CScrollView 32768 size limitation with CBigScrollView

Intellimouse panning 2 (A universal Auto-Panning solution)
Rating: none
Maximilian Pasternak - 08/07/1998
Intellimouse panning 2 (A universal Auto-Panning solution)

Auto-Panning Windows
Rating:
Umut Alev - 08/06/1998
Auto-Panning Windows

Intellimouse panning (improved Auto-Panning Windows)
Rating: none
Lutz Kretzschmar - 08/06/1998
Intellimouse panning (improved Auto-Panning Windows)

Add Zoom and Scale Capabilities to CScrollView
Rating:
BradPirtle - 08/06/1998
Add Zoom and Scale Capabilities to CScrollView

Auto-Panning Windows 2
Rating: none
Russel Freeman - 08/06/1998
Auto-Panning Windows 2


Splitter Views



Variable splitter views
Rating: none
Salvatore Mosaico - 08/06/1998
Variable splitter views


Tabs



Multi-Page Interface
Rating:
Michal Mecinski - 11/07/2003
Create a complex user interface with many views, tabs, and splitters.

Automatic Tab Bar for MDI programs 2
Rating: none
Paul Selormey - 08/01/1999
Automatic Tab Bar for MDI programs 2

Automatic Tab Bar for MDI programs
Rating: none
Dieter Fauth - 05/14/1999
Automatic Tab Bar for MDI programs

Tabbed Views
Rating: none
Daniel Harth - 04/03/1999
Tabbed Views

Tabbed views within a splitter window
Rating:
Zoran M.Todorovic - 01/15/1999
Tabbed views within a splitter window

Tabbed Views
Rating: none
Salvatore Mosaico - 11/07/1998
Tabbed Views

Tabbed Views (2)
Rating: none
Alger Pike - 08/06/1998
Tabbed Views (2)


Title Bar



Animated Icon on Titlebar of a window
Rating: none
Rajesh Parikh - 11/07/1998
Animated Icon on Titlebar of a window

How to get rid of "Untitled - MyApp" in MFC
Rating: none
Chris Kohlhepp - 08/06/1998
How to get rid of "Untitled - MyApp" in MFC


View Management



Multiple Views Layout Without a Splitter
Rating: none
John Z. Czopowik VC++ MVP - 01/25/2007
Learn how to show multiple views in a frame window without using a splitter.

[Updated] A Deterministic Method of Determining a Document's Modified State
Rating:
Jeffrey Walton - 11/29/2006
Determine when a document has been modified. In the particular case of word processors, most tend to have a "dirty" flag that is set when a user types. This article demonstrates a smarter "dirty" flag that uses probabilistic methods.

Puzzle, a Game with the MFC Doc/View Architecture (SDI/MDI)
Rating:
Georges Dumond - 06/02/2005
Learn how to display a menu with thumbnails and several other windows, move and manage the pieces of a puzzle with a linked list, and then show them without flicker.

Creating a Multithreaded SDI Application
Rating:
Michal Mecinski - 09/11/2003
How to create an application with multiple SDI windows (such as the new MS Word) by using the MFC framework with multithreading. (The article, demo, and source code were updated.

Zero or One Document Interface (ZODI)
Rating: none
Vadim Sukhorukov - 01/22/2003
How to create a single-document application by using a multi-document interface (MDI). You may have zero or one documents at a time.

Dynamically Create Different Views for SDI Projects
Rating: none
Ralph Varjabedian - 10/11/2002
SDI Projects have one View associated with one document. This article lets you use more than one view dynamically.

Dialog Switcher Using a Tree Control
Rating:
Andrew Walker - 11/19/2001
So you want to use the new style of dialog where you pick an option from a tree on the left and the appropriate form shows up on the right. This article shows you were to start and how to accomplish this!

Adding a Document Selector to a MDI Application
Rating:
Yogesh Jagota - 03/11/2000
Adding a Document Selector to a MDI Application

Adding a Customozied 'More Windows...' Dialog to an MDI Application
Rating: none
Yogesh Jagota - 02/29/2000
Adding a Customozied 'More Windows...' Dialog to an MDI Application

MDI Windows Manager dialog
Rating: none
Ivan Zhakov - 12/29/1999
MDI Windows Manager dialog

Implementing Full-Screen Mode
Rating: none
Adolf Szabo - 07/14/1999
Implementing Full-Screen Mode

Creating an (MDI) app that ALWAYS displays two views of the same document
Rating: none
Jason Teagle - 06/19/1999
Creating an (MDI) app that ALWAYS displays two views of the same document

Multiple frame windows in SDI application
Rating:
Ole Lennert - 04/03/1999
Multiple frame windows in SDI application

Separating the views of an MDI application into different DLLs
Rating: none
JS Byju - 04/03/1999
Separating the views of an MDI application into different DLLs

Replacing a view in an in-place activated server
Rating: none
Jorge Lodos - 03/02/1999
Replacing a view in an in-place activated server

Switching to other view in a doc-view application
Rating: none
Jorge Lodos - 03/02/1999
Switching to other view in a doc-view application

SDI Interface with Multi-Views and Multi-Splitters
Rating:
Jean-Claude Lanz - 02/14/1999
SDI Interface with Multi-Views and Multi-Splitters

Home made MDI windows list in Window menu
Rating:
Sergey Karyshev - 01/15/1999
Home made MDI windows list in Window menu

Replacing a view in a doc-view application
Rating:
Jorge Lodos - 01/15/1999
Replacing a view in a doc-view application

Loading a FormView based on the Screen Resolution
Rating:
Sunil B.G. - 12/09/1998
Loading a FormView based on the Screen Resolution

How to skip the New Document dialog
Rating: none
Petr Stejskal - 12/09/1998
How to skip the New Document dialog

Multiple views for a single document (MDI) 3
Rating: none
Pat Laplante - 12/08/1998
Multiple views for a single document (MDI) 3

Multiple Views Using SDI
Rating: none
Richard_Stringer - 12/02/1998
Multiple Views Using SDI

MultiSingle (MSDI) Document interface with DAO doc
Rating:
Lanz Jean-Claude - 08/06/1998
MultiSingle (MSDI) Document interface with DAO doc

Custom Window Class for View Window
Rating: none
Tyler Bindon - 08/06/1998
Custom Window Class for View Window

Multiple views for a single document (MDI) 2
Rating:
Chris Kirby - 08/06/1998
Multiple views for a single document (MDI) 2

Multiple Views for a Single Document (MDI)
Rating: none
Adrian Roman - 08/06/1998
Multiple views for a single document (MDI)

MultiSingle (MSDI) Document interface
Rating: none
Lanz Jean-Claude - 08/06/1998
MultiSingle (MSDI) Document interface


Window Positions/Sizes



Non-Resizable, Non-Movable Window
Rating: none
Siarhei Akulich - 02/26/2003
If you want to work with nonresizable, nonmovable windows, insert this code into your project (SDI or MDI applications). (The article was updated.)

Saving Window Placement Information
Rating: none
Caliban Tiresias Darklock - 02/18/2001
Shows the do's and don'ts of saving window placement information

CWindow::ResizeClient() Function for CWnd (or derived classes)
Rating: none
Christian Perger - 01/26/2001
Function that enables the resizing of a window to the specified client area size of a CWnd or derived class

Another Method to Save/Restore Window Position/Size
Rating: none
HanYong Kim - 05/15/1999
Another Method to Save/Restore Window Position/Size

Restoring Window Position
Rating: none
Yonat Sharon - 08/06/1998
Restoring Window Position