a99  V32.6
allegro Windows Hauptprogramm
 Alle Klassen Dateien Funktionen Variablen Typdefinitionen Aufzählungen Aufzählungswerte Makrodefinitionen
alistbox.h
gehe zur Dokumentation dieser Datei
1 // CaListBox.h : ListBox fuer 99
2 
3 // Copyright 2011 Universitätsbibliothek Braunschweig, more see bottom
4 
5 #if !defined(AFX_ALISTBOX_H__EF7CA461_6C12_11D2_A2B9_0080C885B6AB__INCLUDED_)
6 #define AFX_ALISTBOX_H__EF7CA461_6C12_11D2_A2B9_0080C885B6AB__INCLUDED_
7 
8 #if _MSC_VER >= 1000
9 #pragma once
10 #endif // _MSC_VER >= 1000
11 // aListBox.h : header file
12 //
13 
14 /////////////////////////////////////////////////////////////////////////////
15 // CaListBox window
16 
17 class CaListBox : public CListBox
18 {
19 // Construction
20 public:
21  CaListBox();
22 
23 // Attributes
24 public:
25  int L,T,R,B, Ba; // Left, Top, Right, Bottom
26 
27  bool lm; // 1: left mouse button is down
28  int cli; // currently selected line
29  int d,u; // up and down positions
30 
31 // Operations
32 public:
33 
34 // Overrides
35  // ClassWizard generated virtual function overrides
36  //{{AFX_VIRTUAL(CaListBox)
37  //}}AFX_VIRTUAL
38 
39 // Implementation
40 public:
41  virtual ~CaListBox();
42  void movewin(int,int,int md=0);
43  // Generated message map functions
44 protected:
45  //{{AFX_MSG(CaListBox)
46  afx_msg void DrawItem(LPDRAWITEMSTRUCT lpDrawItemStruct);
47  afx_msg void OnChar(UINT nChar, UINT nRepCnt, UINT nFlags);
48  afx_msg void OnKeyDown(UINT nChar, UINT nRepCnt, UINT nFlags);
49  afx_msg void OnSysKeyDown(UINT nChar, UINT nRepCnt, UINT nFlags);
50  afx_msg void OnLButtonDown( UINT u, CPoint p);
51  afx_msg void OnLButtonUp( UINT u, CPoint p);
52  afx_msg void OnContextMenu(CWnd* pWnd, CPoint point);
53 
54  //}}AFX_MSG
55 
56  DECLARE_MESSAGE_MAP()
57 };
58 
59 /////////////////////////////////////////////////////////////////////////////
60 
61 //{{AFX_INSERT_LOCATION}}
62 // Microsoft Developer Studio will insert additional declarations immediately before the previous line.
63 
64 #endif // !defined(AFX_ALISTBOX_H__EF7CA461_6C12_11D2_A2B9_0080C885B6AB__INCLUDED_)
65 
66 /*
67  Copyright 2011 Universitätsbibliothek Braunschweig
68 
69  Licensed under the Apache License, Version 2.0 (the "License");
70  you may not use this file except in compliance with the License.
71  You may obtain a copy of the License at
72 
73  http://www.apache.org/licenses/LICENSE-2.0
74 
75  Unless required by applicable law or agreed to in writing, software
76  distributed under the License is distributed on an "AS IS" BASIS,
77  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
78  See the License for the specific language governing permissions and
79  limitations under the License.
80 */
81