Track billable hours (2)

The attached file is zipped version of my TimeTracker project. I generated this app because I would like to know how many times I spend in front of the computer and to track track whow many time I spend working on various projects (I'm earning money with my hobby ;-)

The best (?) way to implement this was to create an app that resides on the taskbar notifation area, adding some entry to a log-file at startup and another entry at exit. One of the problems involved was that on windows shutdown you get no WM_EXIT command. That was the outcome of my newsgroup question "Taskbar Status Area App?".

The second thing I includes in this project - just for demonstating this feature - is CListCrtlView based class displaying images in SUBitems. For this I have changed YOUR code for "full row selection in list controls" (dont know the exact title now, but you do). The key idea was adding special texts for bitmaps. I only wanted to implement one bitmap for a yes value and another vor a no value. So I choose to enter the text 0]|[ for no and 1]|[ for yes. In OnDrawItem I check, if the text is of length 4 and if the last three characters are the combination ']|[' (I choose two anti-matching-brackets to avoid confusing the find- matching- brace- makros of the IDE) then the first character is convertet to integer and used to determine which bitmap to draw...

Download Files The zip file is 142K.



Comments

  • Does not work all the time.

    Posted by Legacy on 02/18/1999 12:00am

    Originally posted by: Hans Wedemeyer

    It's the neatest idea I've seen for a Time Tracker, but.....

    It does not work on any of my US English configured systems.

    The author needs to learn to accept "critique", if there is a problem with the code,

    then there's a problem with the code that needs fixing.

    That's the last I say on the subject.

    Reply
Leave a Comment
  • Your email address will not be published. All fields are required.

Top White Papers and Webcasts

  • Savvy enterprises are discovering that the cloud holds the power to transform IT processes and support business objectives. IT departments can use the cloud to redefine the continuum of development and operations—a process that is becoming known as DevOps. Download the Executive Brief DevOps: Why IT Operations Managers Should Care About the Cloud—prepared by Frost & Sullivan and sponsored by IBM—to learn how IBM SmartCloud Application services provide a robust platform that streamlines …

  • Hybrid cloud platforms need to think in terms of sweet spots when it comes to application platform interface (API) integration. Cloud Velocity has taken a unique approach to tight integration with the API sweet spot; enough to support the agility of physical and virtual apps, including multi-tier environments and databases, while reducing capital and operating costs. Read this case study to learn how a global-level Fortune 1000 company was able to deploy an entire 6+ TB Oracle eCommerce stack in Amazon Web …

Most Popular Programming Stories

More for Developers

Latest Developer Headlines

RSS Feeds