Files correlati : ba0 ba1 Ricompilazione Demo : [ ] Commento : Impedita uscita dal menu principale mentre ci sono applicazioni ancora aperte git-svn-id: svn://10.65.10.50/trunk@17344 c028cbd2-c16b-5b4b-a496-9718f37d4682
38 lines
803 B
C++
Executable File
38 lines
803 B
C++
Executable File
#ifndef __BA0103_H
|
|
#define __BA0103_H
|
|
|
|
#ifndef TMenu_tree
|
|
#include "ba0102.h"
|
|
#endif
|
|
|
|
///////////////////////////////////////////////////////////
|
|
// TOutlook_mask
|
|
///////////////////////////////////////////////////////////
|
|
|
|
class TOutlook_mask : public TSpidey_mask
|
|
{
|
|
TMenu_tree _tree;
|
|
int _icon[16];
|
|
|
|
TString _per_def, _per_tmp;
|
|
bool _locked;
|
|
TString _last_search;
|
|
|
|
protected:
|
|
virtual void handler(WINDOW w, EVENT* ep);
|
|
virtual bool on_field_event(TOperable_field& o, TField_event e, long jolly);
|
|
virtual bool can_be_closed() const;
|
|
|
|
short add_page(const TString& caption);
|
|
void set_page_caption(short page, const TString& caption, int icon);
|
|
|
|
void save_perspective(int per);
|
|
void load_perspective(int per);
|
|
|
|
public:
|
|
TOutlook_mask(TMenu& menu);
|
|
~TOutlook_mask();
|
|
};
|
|
|
|
#endif
|