CIvfMfcWindow Class Reference

#include <ivfmfc/IvfMfcWindow.h>

Inheritance diagram for CIvfMfcWindow:

CIvfWidgetBase CIvfBase CIvfRefCountBase CIvfRTTIBase List of all members.

Public Member Functions

 CIvfMfcWindow (int X, int Y, int W, int H)
virtual ~CIvfMfcWindow ()
void setApplication (CIvfMfcApplicationBase *app)
BOOL SetPixelformat (HDC hdc)
virtual BOOL PreCreateWindow (CREATESTRUCT &cs)
virtual void doInit (int width, int height)
virtual void doDestroy ()
virtual void doRedraw ()
virtual void doEnableTimeout (float time, int nbr)
virtual void doDisableTimeout (int nbr)
virtual void doDisableIdleProcessing ()
virtual void doEnableIdleProcessing ()
virtual double doElapsedTime ()
virtual void doSetPosition (int x, int y)
virtual void doSetSize (int w, int h)

Protected Member Functions

afx_msg void OnPaint ()
afx_msg int OnCreate (LPCREATESTRUCT lpCreateStruct)
afx_msg void OnSize (UINT nType, int cx, int cy)
afx_msg BOOL OnEraseBkgnd (CDC *pDC)
afx_msg void OnKeyDown (UINT nChar, UINT nRepCnt, UINT nFlags)
afx_msg void OnKeyUp (UINT nChar, UINT nRepCnt, UINT nFlags)
afx_msg void OnSysKeyUp (UINT nChar, UINT nRepCnt, UINT nFlags)
afx_msg void OnShowWindow (BOOL bShow, UINT nStatus)
afx_msg void OnLButtonDown (UINT nFlags, CPoint point)
afx_msg void OnLButtonUp (UINT nFlags, CPoint point)
afx_msg void OnRButtonDown (UINT nFlags, CPoint point)
afx_msg void OnRButtonUp (UINT nFlags, CPoint point)
afx_msg void OnMouseMove (UINT nFlags, CPoint point)
afx_msg void OnChar (UINT nChar, UINT nRepCnt, UINT nFlags)
afx_msg void OnClose ()
afx_msg void OnTimer (UINT nIDEvent)

Detailed Description

Ivf++ MFC Window class

This class implements a MFC window using the CFrameWnd MFC class and the Ivf++ CIvfWidgetBase class. This class should behave as the CIvfFltkBase class in the ivffltk library.

Definition at line 49 of file IvfMfcWindow.h.


Constructor & Destructor Documentation

CIvfMfcWindow::CIvfMfcWindow int  X,
int  Y,
int  W,
int  H
 

Class constructor

Parameters:
X window x position
Y window y position
W window width
H window height

virtual CIvfMfcWindow::~CIvfMfcWindow  )  [virtual]
 

Class destructor


Member Function Documentation

virtual void CIvfMfcWindow::doDestroy  )  [virtual]
 

Called by the doDraw() method

Reimplemented from CIvfWidgetBase.

virtual void CIvfMfcWindow::doDisableIdleProcessing  )  [virtual]
 

Enable idle processing (to be overidden)

Derived widget should override this method to enable idle processing. Idle processing should then call doIdle().

Reimplemented from CIvfWidgetBase.

virtual void CIvfMfcWindow::doDisableTimeout int  nbr  )  [virtual]
 

Disable timeout callback (to be overidden)

Derived widget should override this method to disable specified callback.

Reimplemented from CIvfWidgetBase.

virtual void CIvfMfcWindow::doEnableIdleProcessing  )  [virtual]
 

Disable idle processing (to be overidden)

Derived widget should override this method to disable idle processing.

Reimplemented from CIvfWidgetBase.

virtual void CIvfMfcWindow::doEnableTimeout float  time,
int  nbr
[virtual]
 

Enable timeout callback (to be overidden)

Derived widget should override this method to enable specified callback.

Reimplemented from CIvfWidgetBase.

virtual void CIvfMfcWindow::doInit int  width,
int  height
[virtual]
 

Called by doResize()

Reimplemented from CIvfWidgetBase.

virtual void CIvfMfcWindow::doRedraw  )  [virtual]
 

Redraw operation (to be overidden)

Derived widget should override this method to do a redraw of widget

Reimplemented from CIvfWidgetBase.

virtual BOOL CIvfMfcWindow::PreCreateWindow CREATESTRUCT &  cs  )  [virtual]
 

PreCreate window

void CIvfMfcWindow::setApplication CIvfMfcApplicationBase app  ) 
 

Set the application handling the window

BOOL CIvfMfcWindow::SetPixelformat HDC  hdc  ) 
 

Setup pixel format


The documentation for this class was generated from the following file:
Generated on Fri Sep 1 15:36:53 2006 for Interactive Visualisation Framework - Ivf++ by  doxygen 1.4.6-NO