a99  V32.6
allegro Windows Hauptprogramm
 Alle Klassen Dateien Funktionen Variablen Typdefinitionen Aufzählungen Aufzählungswerte Makrodefinitionen
aform.h
gehe zur Dokumentation dieser Datei
1 // AFORM : Nichtmodales Formular-Editorfenster
2 // Anbindung an andere Dialoge oder Views:
3 // siehe Kommentare AFORM in a99.cpp und a99.h
4 
5 // Copyright 2011 Universitätsbibliothek Braunschweig, more see bottom
6 
7 #if !defined(AFX_ADIA_H__4174B701_2CB0_11D2_A2B9_0080C885B6AB__INCLUDED_)
8 #define AFX_ADIA_H__4174B701_2CB0_11D2_A2B9_0080C885B6AB__INCLUDED_
9 
10 #if _MSC_VER >= 1000
11 #pragma once
12 #endif // _MSC_VER >= 1000
13 // aform.h : header file
14 //
15 
16 #include "record.hpp"
17 #include "exet.hpp"
18 #include "aEdit.h"
19 
20 #define WM_AFORM WM_USER + 6
21 
22 #define NULL 0
23 
24 /////////////////////////////////////////////////////////////////////////////
25 // adia dialog
26 
27 class Aform : public CDialog
28 {
29 // Construction
30 private:
31  CView* m_vView; // parent is view [nicht relevant f. a99]
32  CWnd* m_aView; // parent is dialog
33 public:
34  Aform(CWnd* pParent = NULL); // standard constructor
35 
36  Aform(CView* vView); // not relev.
37 
38  BOOL Create(EXET *,RECORD *, int formnr=0);
39 
40  void OK(int); // Enter-Taste
41 
42  void display(int, int md=1); // display form i
43 
44  CaEdit input[14]; // Die 14 Eingabefelder sind CaEdit-Objekte
45 
46 // Dialog Data
47  //{{AFX_DATA(Aform)
48  enum { IDD = IDD_AFORM }; // see IDD_AFORM in a99.rc
49  CButton m_form;
50 // die Beschriftungsfelder
51  CEdit m_l1;
52  CEdit m_l2;
53  CEdit m_l3;
54  CEdit m_l4;
55  CEdit m_l5;
56  CEdit m_l6;
57  CEdit m_l7;
58  CEdit m_l8;
59  CEdit m_l9;
60  CEdit m_l10;
61  CEdit m_l11;
62  CEdit m_l12;
63  CEdit m_l13;
64  CEdit m_l14;
65  CComboBox m_cedi;
66 // die Eingabefelder
81  //}}AFX_DATA
82 
83 
84 // Overrides
85  // ClassWizard generated virtual function overrides
86  //{{AFX_VIRTUAL(Aform)
87  protected:
88  virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
89  //}}AFX_VIRTUAL
90 
91 // Implementation
92 protected:
93  HICON m_hIcon;
95  int skt;
96  int tgl;
98  // Generated message map functions
99  //{{AFX_MSG(Aform)
100  virtual void OnOK();
101  virtual void OnCancel();
102  afx_msg void OnEnd();
103  afx_msg void OnMinimize();
104  afx_msg void OnSetI1();
105  afx_msg void OnSetI2();
106  afx_msg void OnSetI3();
107  afx_msg void OnSetI4();
108  afx_msg void OnSetI5();
109  afx_msg void OnSetI6();
110  afx_msg void OnSetI7();
111  afx_msg void OnSetI8();
112  afx_msg void OnSetI9();
113  afx_msg void OnSetI10();
114  afx_msg void OnSetI11();
115  afx_msg void OnSetI12();
116  afx_msg void OnSetI13();
117  afx_msg void OnSetI14();
118  afx_msg void OnOutI1();
119  afx_msg void OnOutI2();
120  afx_msg void OnOutI3();
121  afx_msg void OnOutI4();
122  afx_msg void OnOutI5();
123  afx_msg void OnOutI6();
124  afx_msg void OnOutI7();
125  afx_msg void OnOutI8();
126  afx_msg void OnOutI9();
127  afx_msg void OnOutI10();
128  afx_msg void OnOutI11();
129  afx_msg void OnOutI12();
130  afx_msg void OnOutI13();
131  afx_msg void OnOutI14();
132  afx_msg void OnSetFocus(CWnd* pOldWnd);
133  afx_msg void OnSetL1();
134  afx_msg void OnFill();
135  afx_msg void OnButton2();
136  afx_msg void OnAh();
137  afx_msg void OnCopy();
138  afx_msg void OnRes();
139  afx_msg void OnSelected();
140  afx_msg BOOL OnHelpInfo(HELPINFO* pHelpInfo);
141  afx_msg void OnIndex();
142  afx_msg void OnZ();
143  afx_msg void OnBp();
144  afx_msg void OnBm();
145  afx_msg void CpFld(int);
146  afx_msg void OnComboSetFoc();
147  afx_msg void OnForm();
148  afx_msg void OnAltm();
149  //}}AFX_MSG
150  afx_msg LRESULT OnAform(WPARAM wParam, LPARAM lParam);
151  DECLARE_MESSAGE_MAP()
152 };
153 
154 //{{AFX_INSERT_LOCATION}}
155 // Microsoft Developer Studio will insert additional declarations immediately before the previous line.
156 
157 #endif // !defined(AFX_ADIA_H__4174B701_2CB0_11D2_A2B9_0080C885B6AB__INCLUDED_)
158 
159 /*
160  Copyright 2011 Universitätsbibliothek Braunschweig
161 
162  Licensed under the Apache License, Version 2.0 (the "License");
163  you may not use this file except in compliance with the License.
164  You may obtain a copy of the License at
165 
166  http://www.apache.org/licenses/LICENSE-2.0
167 
168  Unless required by applicable law or agreed to in writing, software
169  distributed under the License is distributed on an "AS IS" BASIS,
170  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
171  See the License for the specific language governing permissions and
172  limitations under the License.
173 */
174 
175