.. _mfc-page:

#########################
|ProductName| with MFC
#########################

.. image:: ../../images/mfc.png
    :height: 74
    :align: right

******************
Creating a Viewer
******************

All HOOPS Envision apps needs one (or more) viewers in order to visualize the 3D data. The 
:class:`Win Component <cee::win::WinComponent>` provides two Viewers which are described below:

**ViewerWin32:** ceewinViewerWin32.h/cpp |br|
A viewer that runs in an existing window.

**ViewerWindowed:** ceewinViewerWindowed.h/cpp |br|
A viewer that creates its own sub-window.

****************
Example Programs
****************

A .vcxproj file is included for Windows users.

**MFC Minimal**

.. |img| image:: ../../images/example_mfc_minimal.png
   :width: 150

+-----------------------+------------------------------------------------------------------------------------+
| |img|                 | **Location:** Examples/Mfc/MfcMinimal |br|                                         |
|                       | A very small example showing the basic requirements for a MFC application.         |
+-----------------------+------------------------------------------------------------------------------------+

