#include <ivfmfc/IvfMfcWindow.h>
Inheritance diagram for CIvfMfcWindow:
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) |
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.
|
Class constructor
|
|
Class destructor |
|
Called by the doDraw() method Reimplemented from CIvfWidgetBase. |
|
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. |
|
Disable timeout callback (to be overidden) Derived widget should override this method to disable specified callback. Reimplemented from CIvfWidgetBase. |
|
Disable idle processing (to be overidden) Derived widget should override this method to disable idle processing. Reimplemented from CIvfWidgetBase. |
|
Enable timeout callback (to be overidden) Derived widget should override this method to enable specified callback. Reimplemented from CIvfWidgetBase. |
|
Called by doResize() Reimplemented from CIvfWidgetBase. |
|
Redraw operation (to be overidden) Derived widget should override this method to do a redraw of widget Reimplemented from CIvfWidgetBase. |
|
PreCreate window |
|
Set the application handling the window |
|
Setup pixel format |