Source code of Windows XP (NT5)
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
// StatusBr.cpp : implementation file
//
#include "stdafx.h"
#include "evtview.h"
#include "StatusBr.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__; #endif
/////////////////////////////////////////////////////////////////////////////
// CEvtStatusBar
CEvtStatusBar::CEvtStatusBar() { }
CEvtStatusBar::~CEvtStatusBar() { }
BEGIN_MESSAGE_MAP(CEvtStatusBar, CStatusBar) //{{AFX_MSG_MAP(CEvtStatusBar)
ON_UPDATE_COMMAND_UI(ID_INDICATOR_TIME, OnUpdateTime) //}}AFX_MSG_MAP
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// CEvtStatusBar message handlers
void CEvtStatusBar::OnUpdateTime(CCmdUI* pCmdUI) { CTime t = CTime::GetCurrentTime () ; pCmdUI->SetText (t.Format(L"%H:%M:%S")) ; }
|