/********************************************************************/
/* Datei / Version|.../SpritkostenverwaltngView.cpp / 1.0 */
/* Autor / Erstellt|Christian Hayer / 31.05.2003 */
/* |Bernd Göhringer */
/* Autor / Update| */
/*----------------------|-------------------------------------------*/
/* Copyright|FHTE - IT2a (Gruppe: PetrolSoft) */
/* Internet|http://it.chayer.de/petrolsoft */
/* Email|petrolsoft@it.chayer.de */
/*----------------------|-------------------------------------------*/
/* Aufgabe|Anzeige des Hauptfensters (Inhalte) */
/*----------------------|-------------------------------------------*/
/* Eingang|keine */
/*----------------------|-------------------------------------------*/
/* Ausgang|keine */
/*----------------------|-------------------------------------------*/
/* Verwendete Funktionen|OnFahrzeuge(); OnTankdaten(); */
/* |OnAuswertung(); OnPaint(); */
/* |OnQueryDragIcon(); */
/* |OnItemchangedListCtrl(); */
/* |OnDblclkFrzAuswahl(); */
/* |OnRclickFahrzeugauswahl(); */
/*----------------------|-------------------------------------------*/
/* Globale Variablen|db, frzset */
/*----------------------|-------------------------------------------*/
/* Fehlerbehandlung|keine */
/********************************************************************/
/********************************************************************/
/* */
/* This program is free software; you can redistribute it and/or */
/* modify it under the terms of the GNU General Public License as */
/* published by the Free Software Foundation; either version 2 */
/* of the License, or (at your option) any later version. */
/* */
/********************************************************************/
/////////////////////////////////////////////////////////////////////////////
// SpritkostenverwaltungView.h : interface of the CSpritkostenverwaltungView class
//
/////////////////////////////////////////////////////////////////////////////
#if !defined(AFX_SPRITKOSTENVERWALTUNGVIEW_H__85E21608_DA51_45BC_A842_C532C8EE328A__INCLUDED_)
#define AFX_SPRITKOSTENVERWALTUNGVIEW_H__85E21608_DA51_45BC_A842_C532C8EE328A__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
class CFahrzeugeSet;
class CSpritkostenverwaltungView : public CFormView
{
protected: // create from serialization only
DECLARE_DYNCREATE(CSpritkostenverwaltungView)
public:
CSpritkostenverwaltungView();
//{{AFX_DATA(CSpritkostenverwaltungView)
enum { IDD = IDD_SPRITKOSTENVERWALTUNG };
CButton m_Tankdaten;
CButton m_Auswertung;
CFahrzeugeSet* m_pSet;
CListCtrl m_FrzAuswahlC;
CString m_Besitzer;
long m_DBHC;
CString m_FrzBesitzer;
CString m_FrzBezeichnung;
UINT m_FrzLastStand;
CString m_FrzLastTankdatum;
LONG m_FrzID;
UINT m_Fahrzeug_ID;
//}}AFX_DATA
void RefreshList();
// Attributes
public:
// CSpritkostenverwaltungDoc* GetDocument();
// Operations
public:
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CSpritkostenverwaltungView)
public:
virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
virtual void OnInitialUpdate(); // called first time after construct
virtual BOOL OnInitDialog();
//}}AFX_VIRTUAL
// Implementation
public:
virtual ~CSpritkostenverwaltungView();
/*
#ifdef _DEBUG
virtual void AssertValid() const;
virtual void Dump(CDumpContext& dc) const;
#endif
*/
protected:
void AddStyleItem(LPCTSTR lpszItem, BOOL bState, DWORD dwData);
// Generated message map functions
protected:
//{{AFX_MSG(CSpritkostenverwaltungView)
afx_msg void OnFahrzeuge();
afx_msg void OnTankdaten();
afx_msg void OnAuswertung();
afx_msg void OnPaint();
afx_msg HCURSOR OnQueryDragIcon();
afx_msg void OnItemchangedListCtrl(NMHDR* pNMHDR, LRESULT* pResult);
afx_msg void OnDblclkFrzAuswahl(NMHDR* pNMHDR, LRESULT* pResult);
afx_msg void OnRclickFahrzeugauswahl(NMHDR* pNMHDR, LRESULT* pResult);
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
/*
#ifndef _DEBUG // debug version in SpritkostenverwaltungView.cpp
inline CSpritkostenverwaltungDoc* CSpritkostenverwaltungView::GetDocument()
{ return (CSpritkostenverwaltungDoc*)m_pDocument; }
#endif
*/
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_SPRITKOSTENVERWALTUNGVIEW_H__85E21608_DA51_45BC_A842_C532C8EE328A__INCLUDED_)