| 131 | return T::OnCommand(wparam, lparam); |
| 132 | } |
| 133 | virtual BOOL PreCreateWindow(CREATESTRUCT &cs) { |
| 134 | // @pyvirtual BOOL|PyCWnd|PreCreateWindow|Called by the framework before the creation of the Windows window attached to this View object. |
| 135 | // @pyparm tuple|CREATESTRUCT||A tuple describing a CREATESTRUCT structure. |
| 136 | // @xref <om PyCWnd.PreCreateWindow> |
| 137 | CVirtualHelper helper("PreCreateWindow", this); |
| 138 | if (helper.HaveHandler()) { |
| 139 | if (!helper.call(&cs) || !helper.retval(cs)) |
| 140 | return FALSE; |
| 141 | return TRUE; |
| 142 | } else { |
| 143 | return T::PreCreateWindow(cs); |
| 144 | } |
| 145 | } |
| 146 | afx_msg void OnClose() { |
| 147 | // @pyvirtual void|PyCWnd|OnClose|Called for the WM_CLOSE message. |
| 148 | // @comm The default calls DestroyWindow(). If you supply a handler, the default is not called. |
no test coverage detected