IMVTextOverlay3

The IMVTextOverlay2 interface extends the IMVTextOverlay2 interface.

 Methods:

DateMode Output format for the current date.
TimeMode Output format for the current time.

Header file: IMVTextOverlay.h
Interface definition language file: IMVTextOverlay.idl
Typelib: MVTextOverlay
Interface ID: IID_IMVTextOverlay3


Property IMVTextOverlay3::DateMode

Declaration: Property Get/Put DateMode As Long

Output format for the current date.

Mode

Value

Description

MV_DATE_FORMAT_SHORT

0

Short date format.
MV_DATE_FORMAT_LONG

1

Long date format.
MV_DATE_FORMAT_YEARMONTH

2

Only year on month.
MV_DATE_FORMAT_NONE

3

No date.
C Prototype:

HRESULT put_DateMode(LONG newVal);
HRESULT get_DateMode(LONG *pVal);


Property IMVTextOverlay3::TimeMode

Declaration: Property Get/Put TimeMode As Long

Output format for the current time.

Mode

Value

Description

MV_TIME_FORMAT_COMPLETE

0

Hours minutes seconds.
MV_TIME_FORMAT_NOSECONDS

1

Hours and minutes.
MV_TIME_FORMAT_NOMINUTES_NOSECONDS

2

Only hours.
MV_TIME_FORMAT_NONE

3

No time.

C Prototype:

HRESULT put_TimeMode(LONG newVal);
HRESULT get_TimeMode(LONG *pVal);