Garmin Fleet Management Controller  2.19.0
CTimeOfDayPickerDlg.h
Go to the documentation of this file.
1 /*********************************************************************
2 *
3 * HEADER NAME:
4 * CTimeOfDayPickerDlg.h
5 *
6 * Copyright 2014 by Garmin Ltd. or its subsidiaries.
7 *---------------------------------------------------------------------
8 * $NoKeywords$
9 *********************************************************************/
10 #pragma once
11 
12 #include "FmiApplicationLayer.h"
13 
14 #if( FMI_SUPPORT_A615 )
15 
16 //----------------------------------------------------------------------
18 //----------------------------------------------------------------------
19 class CTimeOfDayPickerDlg : public CDialog
20 {
21  DECLARE_DYNAMIC(CTimeOfDayPickerDlg)
22 
23 public:
24  static UINT CaptureSetting(
25  CWnd* pParent,
26  UINT titleStringId,
27  UINT valueLabelStringId,
28  COleDateTime & value
29  );
30 
31  virtual ~CTimeOfDayPickerDlg();
32 
33 // Dialog Data
35 
36 protected:
38  CWnd* pParent
39  ); // standard constructor
40  virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
41 
42  DECLARE_MESSAGE_MAP()
43 
44  BOOL OnInitDialog();
45 
47  COleDateTime mValue;
48 
51 
54 
55  };
56 
57 #endif
BOOL OnInitDialog()
Initialize the dialog.
CTimeOfDayPickerDlg(CWnd *pParent)
Constructor.
COleDateTime mValue
Control value representing the selected value.
static UINT CaptureSetting(CWnd *pParent, UINT titleStringId, UINT valueLabelStringId, COleDateTime &value)
UINT mValueLabelStringId
Resource ID for the value field label.
Form for individually capturing time of day.
#define IDD_TIME_OF_DAY_PICKER
Definition: resource.h:62
virtual void DoDataExchange(CDataExchange *pDX)
UINT mTitleStringId
Resource ID for the window title.