a99  V32.6
allegro Windows Hauptprogramm
 Alle Klassen Dateien Funktionen Variablen Typdefinitionen Aufzählungen Aufzählungswerte Makrodefinitionen
getp.h
gehe zur Dokumentation dieser Datei
1 // getp.h : Passwort-Eingabedialog f. a99 (2 Eingabfelder)
2 
3 // Copyright 2011 Universitätsbibliothek Braunschweig, more see bottom
4 
5 #if !defined(AFX_GETP_H__E83DF701_B882_11D2_A2B9_749D04C10000__INCLUDED_)
6 #define AFX_GETP_H__E83DF701_B882_11D2_A2B9_749D04C10000__INCLUDED_
7 
8 #if _MSC_VER > 1000
9 #pragma once
10 #endif // _MSC_VER > 1000
11 // GetP.h : Header-Datei
12 //
13 #include "exet.hpp"
14 #include "aEdit.h"
15 
16 #define WM_AFORM WM_USER + 6
17 
18 #define NULL 0
19 
20 /////////////////////////////////////////////////////////////////////////////
21 // Dialogfeld GetP
22 
23 class GetP : public CDialog
24 {
25 // Konstruktion
26 private:
27  CWnd* m_aView; // parent is dialog
28  char iX; // index to use
29  char pref[50]; //prefix for index
30 public:
31  GetP(CWnd* pParent = NULL); // Standardkonstruktor
32  int Ask(char *);
33 
34 // Dialogfelddaten
35  //{{AFX_DATA(GetP)
36  enum { IDD = IDD_GETP };
39  CEdit m_prompt;
40  //}}AFX_DATA
41 
42 
43 // Überschreibungen
44  // Vom Klassen-Assistenten generierte virtuelle Funktionsüberschreibungen
45  //{{AFX_VIRTUAL(GetP)
46  public:
47  virtual int DoModal();
48  protected:
49  char aSK[100];
50  virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV-Unterstützung
51  //}}AFX_VIRTUAL
52 
53 // Implementierung
54 protected:
55 
57  // Generierte Nachrichtenzuordnungsfunktionen
58  //{{AFX_MSG(GetP)
59 
60  virtual void OnOK();
61  virtual void OnCancel();
62  virtual BOOL OnInitDialog();
63  afx_msg void OnIndex();
64  afx_msg void OnCopy();
65  afx_msg void OnZ();
66  //}}AFX_MSG
67  afx_msg LRESULT OnAform(WPARAM wParam, LPARAM lParam);
68  DECLARE_MESSAGE_MAP()
69 };
70 
71 //{{AFX_INSERT_LOCATION}}
72 // Microsoft Visual C++ fügt unmittelbar vor der vorhergehenden Zeile zusätzliche Deklarationen ein.
73 
74 #endif // AFX_GETP_H__E83DF701_B882_11D2_A2B9_749D04C10000__INCLUDED_
75 
76 /*
77  Copyright 2011 Universitätsbibliothek Braunschweig
78 
79  Licensed under the Apache License, Version 2.0 (the "License");
80  you may not use this file except in compliance with the License.
81  You may obtain a copy of the License at
82 
83  http://www.apache.org/licenses/LICENSE-2.0
84 
85  Unless required by applicable law or agreed to in writing, software
86  distributed under the License is distributed on an "AS IS" BASIS,
87  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
88  See the License for the specific language governing permissions and
89  limitations under the License.
90 */
91