a99  V32.6
allegro Windows Hauptprogramm
 Alle Klassen Dateien Funktionen Variablen Typdefinitionen Aufzählungen Aufzählungswerte Makrodefinitionen
subfield.h
gehe zur Dokumentation dieser Datei
1 // subfield.h : Bearbeitung von Unterfeldern
2 
3 // Copyright 2011 Universitätsbibliothek Braunschweig, more see bottom
4 
5 #if !defined(AFX_SUBFIELD_H__1187E981_5566_11D1_A2B9_0080C885B6AB__INCLUDED_)
6 #define AFX_SUBFIELD_H__1187E981_5566_11D1_A2B9_0080C885B6AB__INCLUDED_
7 
8 #if _MSC_VER >= 1000
9 #pragma once
10 #endif // _MSC_VER >= 1000
11 // SubField.h : header file
12 //
13 
14 /////////////////////////////////////////////////////////////////////////////
15 // SubField window
16 
17 /////////////////////////////////////////////////////////////////////////////
18 
19 /////////////////////////////////////////////////////////////////////////////
20 // subField dialog
21 
22 #include "record.hpp"
23 #include "exet.hpp"
24 
25 class subField : public CDialog
26 {
27 // Construction
28 public:
29  subField(int SF=178, CWnd *pParent=0); // standard constructor
30  DoModal(CHAR *ka, CHAR *fld=0, char *tag=0, char *lab=0); // subfield params, field string
31 // Dialog Data
32  //{{AFX_DATA(subField)
33  enum { IDD = IDD_DIALOG1 };
34  CButton m_finish;
35  CEdit m_subinfo;
37  CListBox m_subf;
38  //}}AFX_DATA
39 
40 
41 // Overrides
42  // ClassWizard generated virtual function overrides
43  //{{AFX_VIRTUAL(subField)
44  public:
45  virtual int DoModal();
46  protected:
47  virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
48  //}}AFX_VIRTUAL
49 
50 // Implementation
51 protected:
52 
53 int focs; // 1: listbox 2: edit field
54 int focn; // selected line in listbox
55 int nsf; // number of subfields
56 // CHAR asf[100][256]; // the subfield strings
57 CString asf[100];
58 
59  // Generated message map functions
60  //{{AFX_MSG(subField)
61  afx_msg void OnSetfocusListSub();
62  afx_msg void OnSubOK();
63  afx_msg void OnReady();
64  virtual BOOL OnInitDialog();
65  afx_msg void OnSh();
66  afx_msg BOOL OnHelpInfo(HELPINFO* pHelpInfo);
67  //}}AFX_MSG
68  DECLARE_MESSAGE_MAP()
69 };
70 
71 
72 //{{AFX_INSERT_LOCATION}}
73 // Microsoft Developer Studio will insert additional declarations immediately before the previous line.
74 
75 #endif // !defined(AFX_SUBFIELD_H__1187E981_5566_11D1_A2B9_0080C885B6AB__INCLUDED_)
76 
77 /*
78  Copyright 2011 Universitätsbibliothek Braunschweig
79 
80  Licensed under the Apache License, Version 2.0 (the "License");
81  you may not use this file except in compliance with the License.
82  You may obtain a copy of the License at
83 
84  http://www.apache.org/licenses/LICENSE-2.0
85 
86  Unless required by applicable law or agreed to in writing, software
87  distributed under the License is distributed on an "AS IS" BASIS,
88  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
89  See the License for the specific language governing permissions and
90  limitations under the License.
91 */
92 
93