Make your own free website on Tripod.com

List of Downloads from
"Online Tutorial for Windows 9x/ME/2000/XP
Applications Programming In FORTRAN"
by
Vladimir V. Vasilchenko

Attention!
If you're interested to start samples made in Compaq Visual Fortran 6.1A on the computer without compiler installed on it, then you can download CVF_Redist.zip file to do this.

And about terms...  Following the links from this page, you'll see "sources" and "complete project". "Sources" means the sources of the program in the form of html-file, "complete project" means completely prepared project for immediate use inside DVF/CVF. Program sources are already included into the project ( as .f90-files ). It was made for using by both experienced CVF users ( sources only are necessary ) and beginners too ( "how to start quickly with the program").


Important!  See "Rules" for additional information, please.



Four Quick Steps to Windows Applications Programming with FORTRAN
( For beginners, programmers under MS-DOS and mainframes )



Volume 1. The Basic Methods and Elements of  Windows Applications
                 Programming in FORTRAN.

  Getting Started With Windows Applications  

 Template for Simplest ( Empty ) Windows Application
Static Controls Samples
4.1.2.4.1. Simple Static Text Control.
4.1.2.4.2. Owner-Drawn Static Control.
4.1.2.4.3. Static Controls with Images.
4.1.2.4.4. Static Rectangles and Frames.

Buttons Samples

4.1.3.6.1.  Using  Standard  Button.
4.1.3.6.2.  Autoradiobutton Sample.
4.1.3.6.3.  Radiobutton Sample.
4.1.3.6.4.  Groupbox, CheckBox and Autocheckbox Buttons Sample.
4.1.3.6.5.1.  Owner-Drawn Button with Bitmap.
4.1.3.6.5.2.  Owner-Drawn Button with Icon.
4.1.3.6.5.3.  Owner-Drawn Button with Metafile.
4.1.3.6.5.4.  Owner-Drawn Button with Custom Font.
4.1.3.6.5.5.  Advanced Owner-Drawn Button Sample.

List Boxes Samples

4.1.4.5.1. Simple List Box
4.1.4.5.2. Multiple-selection List Box
4.1.4.5.3. Multi-column List Box
4.1.4.5.4. Owner-Drawn List Box
4.1.4.5.5. List Box with Directory List Inside
4.1.4.5.6. Handling Information from List Box.

Edit Control Samples

4.1.5.5.1. Using Edit Control for Data Input.
4.1.5.5.2. Improved Sample.

Combo Boxes Samples

4.1.6.5.1. Simple Combo Box
4.1.6.5.2. Combo Box with Directory List Inside.
4.1.6.5.3. Owner-Drawn Combo Box
4.1.6.5.4. Handling Information from Combo Box.

Using Scroll Bar Samples

4.1.7.6.1. Scrolling Text Sample.
4.1.7.6.2. Scrolling Bitmap Sample.
4.1.7.6.3. Using Scrollbar for Variable Value Changing.

Using Menus Samples

5.3.2.1. Simple Pulldown Menu.
5.3.2.2. Adding Submenu.
5.3.2.3.1. Managing a Menu within an Application. Using Checkmark.
5.3.2.3.2. Managing a Menu within an Application. Locking/Unlocking Items.
5.3.2.4. Using Custom Checkmarks.
5.3.2.5. Owner-Drawn Menu.
5.3.3. System Menu.
5.3.4. Floating Popup Menu.

Device Contexts Samples

6.1.4.1. Retrieving the Capabilities of a Printer.
6.1.4.2. Changing Screen Resolution.

Pixel Samples

6.3.1. Drawing a Pixel.
6.3.2. Pixel Color Detecting.

Basic Primitives of Windows' Graphics.

6.5.1.1. Standard Scheme of Line Drawing.
6.5.1.2. User-Defined Line Drawing.
6.5.2. Drawing Polylines.
6.5.3. Drawing Curves.
6.5.4. Drawing Filled Shapes.

Regions Samples

6.6.1.3.1. Region Operations Samples.
6.6.1.3.2. Clipping Region Sample.
6.6.1.3.3. Hit Testing Sample.
6.6.1.3.4. "Nonrectangular Window" Sample.

Bitmaps Samples

6.6.2.2.1. Bitmap as Background for Window.
6.6.2.2.2. Capturing and Saving the Image.
6.6.2.2.3. Printing a Window Content.
6.6.2.2.4. Drawing Transparent Bitmap.

Metafile Samples

6.6.3.2.1. Scaling a Metafile.
6.6.3.2.2. Scrolling a Metafile.
6.6.3.2.3. Printing a Metafile.

Drawing Text Samples

7.3.1. Using Stock Font.
7.3.2. Using Customized Font.
7.3.3. Draw Text in Arbitrary Direction.
7.3.4. Simple Text Formatting.

Using Mouse Samples

8.3.1. Region Testing Sample.
8.3.2. "Hyperlink" Sample.
8.3.3. "Active Region" Sample.

Cursor Sample

9.4. Using Cursor Sample.

Common Dialogs

10.1. "Open" Dialog.
10.2. "Save As" Dialog.
10.3. "Choose Font" Dialog.
10.4. "Choose Color" Dialog.
10.5. "Print" Dialog.

Files

11.3. Directory Listing with Files Information Sample.

Printing

12.2. Template for Simplest Printing.

Bonus Programs/Tips/Tricks

A.1.   Simple template for function drawing.
A.2.   Simple template for function drawing with virtual screen technique.
A.3.   Advanced sample of function drawing.
A.4.   Animating Window.
A.5.   Fortran specific - "Let me stop it now..."
A.6.   Image smoothing sample.
A.7.   Image sharpening sample.
A.8.   Embossed Image Sample.
A.9.   Solarized Image Sample.
A.10. Colored Static Control.
A.11. Colored Edit Control.
A.12. Using Custom Fonts In Controls.
A.13. Cascade Child Windows in non-MDI Application.
A.14. Tile Child Windows in non-MDI Application.
A.15. Fortran calls C-procedure.
A.16. Fortran calls C++ procedure.


Volume 2. Using Common Controls in Advanced Windows
               GUI Programming in FORTRAN.
 Animation Control Sample
 Tree-View Control Sample
 Tab Control Sample
 Header Control Sample
 Image Lists Samples:
           Creation, Drawing, Dragging
           Inserting images into Tab Control
           Inserting images into Tree-View Control 
           Inserting images into Header Control
 List-View Control Sample
 Drag List Box Sample
 Toolbar Sample
 Tooltip Samples: 
             Creation and Using Tooltip
             Tooltip in a Tab Control
             Tooltip in a Toolbar Control
             Attaching a Tooltip to Other Controls
             Advanced Tooltip Style Sample
 Progress Bar Sample
 Hot-Key Controls Sample
 Status Bar Sample
 MenuHelp Interface Sample
 Rebar Control Sample
 Trackbar Sample
 Up-Down Control Sample
 Flat Scrollbar Sample
 ComboBoxEx Control Sample
 Month Calendar Control Sample
 Date and Time Picker Control Sample
 Pager Control Sample


Volume 3. Advanced Topics of  Windows Applications
               Programming in FORTRAN.
Special comments on using samples for databases files access/creation.
In order to receive the proper behavior of samples below, check, please,
the presence of modern version of Microsoft's ODBC drivers on your
computer. These drivers are presented in last versions of Microsoft Office
2000 and Microsoft Visual Studio 6.0. Also, these ones are available from
Microsoft site as the part of Microsoft Platform SDK. "Standard" name for 
ODBC drivers set - mdac_typ.exe.
Using samples for the work with Microsoft Visual FoxPro datatables under
Windows XP requires special attempts in special patch installation.


Access to databases

 Implicit Loading of ODBC Driver for Selected Database Type:
         -   Loading Microsoft Visual FoxPro ODBC Driver
         -   Loading Microsoft Excel ODBC Driver

Creating New Object of Selected Database Type:
         -   Load VFP Driver, Connect and Create Table
         -   Load Excel Driver, Connect and Create Workbook
         -   Load Access Driver, Connect and Create Database

 Saving Information in the Format of Selected Database Type:  
         -   Write Data into Microsoft Visual FoxPro Table
         -   Write Data into Microsoft Excel Workbook
         -   Write Data into Microsoft Access Database

 Reading Information from the Databases Files in FORTRAN:
         -   Read Data from Microsoft Visual FoxPro Table
         -   Read Data from Microsoft Excel Workbook
         -   Read Data from Microsoft Access Database

 Using Databases Format Files for I/O Operations in FORTRAN:   
         -   Update Data in Microsoft Visual FoxPro Table
         -   Update Data in Microsoft Excel Workbook
         -   Update Data in Microsoft Access Database

Client-Server Applications

Samples of DDEML Client-Server Applications
Samples of Winsock TCP/IP Client-Server Applications

OLE/COM Technology

Sample of Excel Call as Application.
Using OLE Automation to Call Excel
Sample of In-Place Activation of Excel
Using ActiveX Sample. Excel Workbook.

OPENGL Graphics For Beginners
( Step By Step Introduction )

  Standard Template for Program with OPENGL
 2-D Graphics primitives:
      Drawing Pixels Sample
      Drawing Points Sample
      Drawing Line Sample
      Drawing Advanced Style Line Sample
      Drawing Polyline Sample
      Drawing Advanced Style Polyline Sample
      Drawing Rectangle Sample
      Drawing Closed Polyline Sample
      Drawing Triangles Sample
      Drawing Grouped Triangles Sample 1
      Drawing Grouped Triangles Sample 2
      Drawing Quadrilaterals Sample
      Drawing Connected Quadrilaterals Sample
      Drawing Polygon Sample
      Drawing Text Samples:
             Using Windows' Stock Fonts in OpenGL Application
             Using Windows' Customized Fonts in OpenGL Application   
 3-D Graphics:
    
Drawing Surface Samples:
           Drawing Surface Standard Sample
           Drawing Surface Improved Sample
           Rotate Surface Sample



GUI Exercises

   Gradient filling and isoclines construction. 
         -   Gradient Filling of Triangles.
         -   Isoclines/Contours Drawing Samples
                 -   Classic Scheme
                 -   Advanced Scheme
                 -   New-Tech Scheme
         -   Isoclines/Contours Advanced Samples
                 -   Classic Scheme
                 -   Advanced Scheme
                 -   New-Tech Scheme
         -   Isoclines/Contours Drawing With Tricks
   GUI for triangulation packages 
         -   Game "Triangulation"
         -   Game "Triangulation II"
   GUI for formulae interpreter
         -   V&A Scientific Calculator v.1.0
         -   V&A Scientific Calculator & Viewer v.1.0
         -   Ordinary Differential Equations Systems Solver for Windows 98/Me/2000


Development Tool

VFC Graphical User Interface Wizards

Samples of applications created with VFC GUI Generator

Sample of GUI with input/output fields and with selection feature.