1 // Copyright (c) 2006 by Mike Sharov <msharov@users.sourceforge.net>
6 #ifndef FRAME_H_3C7C0B5325ECA7E7714C148D1DFE0331
7 #define FRAME_H_3C7C0B5325ECA7E7714C148D1DFE0331
12 /// \class CTodoFrame tdframe.h tdframe.h
13 class CTodoFrame
: public CWindow
{
17 virtual void OnResize (rcrect_t wr
);
18 virtual void OnInitialUpdate (void);
19 virtual void OnChildClose (uoff_t i
);
20 virtual void OnKey (wchar_t key
);
21 virtual void OnCommand (cmd_t c
);
22 virtual void OnUpdateCommandUI (rcmd_t rc
) const;
24 typedef CTodoList
& relist_t
;
25 typedef CEntryEditDialog
& reedit_t
;
33 inline CMenuBar
& MenuBar (void) { return (TCW
<CMenuBar
>(pane_MenuBar
)); }
34 inline relist_t
TodoList (void) { return (TCW
<CTodoList
>(pane_Entries
)); }
35 inline reedit_t
EntryEditor (void) { return (TCW
<CEntryEditDialog
>(pane_Editor
)); }