Garmin Fleet Management Controller  2.19.0
CTimeOfDayPickerDlg Class Reference

Form for individually capturing time of day. More...

#include <CTimeOfDayPickerDlg.h>

+ Inheritance diagram for CTimeOfDayPickerDlg:

Public Types

enum  { IDD = IDD_TIME_OF_DAY_PICKER }
 

Public Member Functions

virtual ~CTimeOfDayPickerDlg ()
 

Static Public Member Functions

static UINT CaptureSetting (CWnd *pParent, UINT titleStringId, UINT valueLabelStringId, COleDateTime &value)
 

Protected Member Functions

 CTimeOfDayPickerDlg (CWnd *pParent)
 Constructor. More...
 
virtual void DoDataExchange (CDataExchange *pDX)
 
BOOL OnInitDialog ()
 Initialize the dialog. More...
 

Protected Attributes

UINT mTitleStringId
 Resource ID for the window title. More...
 
COleDateTime mValue
 Control value representing the selected value. More...
 
UINT mValueLabelStringId
 Resource ID for the value field label. More...
 

Detailed Description

Form for individually capturing time of day.

Definition at line 19 of file CTimeOfDayPickerDlg.h.

Member Enumeration Documentation

anonymous enum
Enumerator
IDD 

Definition at line 34 of file CTimeOfDayPickerDlg.h.

Constructor & Destructor Documentation

CTimeOfDayPickerDlg::~CTimeOfDayPickerDlg ( )
virtual

Definition at line 53 of file CTimeOfDayPickerDlg.cpp.

CTimeOfDayPickerDlg::CTimeOfDayPickerDlg ( CWnd *  pParent)
protected

Constructor.

Parameters
aParentThe parent window
aComReference to the FMI communication controller

Definition at line 44 of file CTimeOfDayPickerDlg.cpp.

Member Function Documentation

UINT CTimeOfDayPickerDlg::CaptureSetting ( CWnd *  pParent,
UINT  titleStringId,
UINT  valueLabelStringId,
COleDateTime &  value 
)
static
void CTimeOfDayPickerDlg::DoDataExchange ( CDataExchange *  pDX)
protectedvirtual

Definition at line 57 of file CTimeOfDayPickerDlg.cpp.

References IDC_TIME_OF_DAY, and mValue.

BOOL CTimeOfDayPickerDlg::OnInitDialog ( )
protected

Initialize the dialog.

This function is called when the window is created. It sets up the parent, so it can get info from and send a message to FmiApplicationLayer.

Returns
TRUE, since this function does not set focus to a control

Definition at line 76 of file CTimeOfDayPickerDlg.cpp.

References IDC_HOS_SETTING_VALUE_LABEL, mTitleStringId, mValueLabelStringId, and TRUE.

Member Data Documentation

UINT CTimeOfDayPickerDlg::mTitleStringId
protected

Resource ID for the window title.

Definition at line 50 of file CTimeOfDayPickerDlg.h.

Referenced by CaptureSetting(), and OnInitDialog().

COleDateTime CTimeOfDayPickerDlg::mValue
protected

Control value representing the selected value.

Definition at line 47 of file CTimeOfDayPickerDlg.h.

Referenced by CaptureSetting(), and DoDataExchange().

UINT CTimeOfDayPickerDlg::mValueLabelStringId
protected

Resource ID for the value field label.

Definition at line 53 of file CTimeOfDayPickerDlg.h.

Referenced by CaptureSetting(), and OnInitDialog().


The documentation for this class was generated from the following files: