The Sandbox Post

Single Post Permalink

View Thread: Clock app for Title bar
  • User profile image
    darklotus

    File:Settings.h  Line(s):16


    #define BARCLOCK_CX 128

    to

    #define BARCLOCK_CX 256


    File:BarClockWnd.h  Line(s):12


    CString m_time;

    to

    CString m_time;
    CString m_date;


    File:BarClockWnd.cpp  Line(s):165


    m_time = COleDateTime::GetCurrentTime().Format(VAR_TIMEVALUEONLY);

    to

    m_time = COleDateTime::GetCurrentTime().Format(VAR_TIMEVALUEONLY);
    m_date = COleDateTime::GetCurrentTime().Format(VAR_DATEVALUEONLY);

    File:BarClockWnd.cpp  Line(s):176


    m_time,

    to

    m_time + " " + m_date,


    Its nothing major, just simple addition of some code thats already there, not too bad for someone who doesnt know c++.