File: INCLUDE\PROTOCOL\TProtocolTopographyDlg.h

    1 //******************************************************************************
    2 //Datei     : TProtocolTopographyDlg.h
    3 //Projekt   : XCTL
    4 //Subsystem : Protokollbuch
    5 //Autor     : Jens Klier <klier@informatik.hu-berlin.de>
    6 //            Institut fuer Informatik,
    7 //            Humboldt-Universitaet Berlin
    8 //Inhalt    : Interface der Klasse TProtocolTopographyDlg
    9 //******************************************************************************
   10 //!neu klier Protokollbuch
   11 
   12 #include "utils\u_utils.h" // für TModalDlg
   13 
   14 //--||--\\--||--//--||--\\--||--//--||--\\--||--//--||--\\--||--//--||--\\--||--
   15 
   16 class TProtocolTopographyDlg : public TProtocolDlg, public TModalDlg
   17 {
   18 public:
   19 #include "protocol\TProtocolTopographyParameter.h" // enthält enum TTopographyParameter
   20 
   21         TProtocolTopographyDlg( LPSTR, int idDlg= -1 );
   22 
   23 private:
   24         BOOL Dlg_OnInit( HWND, HWND, LPARAM );
   25         void Dlg_OnDestroy( HWND );
   26         void Dlg_OnCommand( HWND, int, HWND, UINT );
   27         BOOL Dlg_OnSysCommand( HWND, int, LPARAM );
   28         BOOL CanClose( void );
   29         void Dlg_OnLButtonUp( HWND, int, int, UINT );
   30         void Dlg_OnLButtonDown( HWND, UINT, int, int, UINT );
   31         void Dlg_OnMouseMove( HWND, int, int, UINT );
   32         void Dlg_OnRButtonDown( HWND, UINT, int, int, UINT );
   33         void Dlg_OnNotify(HWND, int, UINT, UINT);
   34 
   35         void ShowDialog( int, int );
   36 
   37         void InitializeDlgItems( HWND );
   38         void SaveDlgItems( HWND );
   39 
   40         int GetDlg( int );
   41         BOOL ManageDlg( HWND, int, TAction );
   42         BOOL TestPflichtDlg( HWND );
   43 
   44         LPSTR GetDlgItemText_LfdNr( HWND, LPSTR );
   45         BOOL TestDlgItemText_LfdNr( HWND, LPSTR );
   46         void SetDlgItemText_LfdNr( HWND );
   47         void EnableDlgItem_LfdNr( BOOL );
   48 
   49         BOOL IsDlgItemModify( void );
   50 
   51         int GetStatusId( void );
   52         int GetDatumId( void );
   53 
   54         HWND hLfdNrBereich, hRTKNr;
   55         HWND hLieferantList, hKMaterialList, hRMaterialList;
   56 
   57         enum {ProbeSkizzeDlg= 1, KollimatorRoehreDlg, MessungFilmeDlg, BeginnMessungDlg,
   58                   EndeMessungDlg};
   59 };
   60 
   61 
   62 // LastLine
   63 
   64