Click here to Skip to main content
Click here to Skip to main content

ToDoList 6.6.7 Feature Release - An effective and flexible way to keep on top of your tasks

By , 3 May 2013
 

 

Downloads

todolist2/todolist.png

todolist2/todolist.png

Latest Update (6.6 Feature Release)

ToDoList 6.6 contains the following new features: 

  • Added 'Icon' attribute type to custom attribute setup
  • Added more options to searching by 'Relative' dates, including 'End of Week/Month/Year'.
  • Added 'Alloc to' to 'To' line of email
  • Added checkbox to task selection dialog to allow comments to be selected for 'Visible Columns'
  • Added preference to always hide parent tasks in list-view
  • Added task dependents to info-tip
  • Added ability to copy and paste RTF formatting
  • Added preference to control 'Percent Done' increments
  • Added preference to locate 'Comments' and 'Fields' to left of tasklist
  • Added support recurring reminders for recurring tasks 
  • Added checkboxes to allow custom attributes to be disabled in addition to being deleted
  • Added button to allow custom attributes to be imported from another tasklist
  • Added new visual styles for printing: Wrapped, Tabular and Paragraph.  
  • Added a preference has been added to calculate a parent task's due date as being the latest of its subtasks' due dates 
  • Added preferences to calculate a parent task's start date as being the earliest/latest of its subtasks' start dates
  • Added a button to the custom attribute dialog to allow symbols to be used for column titles
  • Added a button to allow custom attributes to be imported from another tasklist
  • Added support for relative custom dates.  

Related Links

After finally compiling a FAQ of the most relevant questions asked about ToDoList I've moved all resources related to ToDoList to a new page on my website.

Introduction

You know how it is - you start work on one project and halfway through, you find one or two side-projects crop up that have to be solved before you can continue on the original project.

This is one such project with the added twist that it too started its life as a side-project. Here's what happened:

<Cue wavy screen effect>

I can only imagine that the planets must have been in (mis-)alignment or something, because at one point a few months ago, I was suddenly fielding emails on four or five separate articles I had previously submitted to CodeProject, some asking for features and others for bug fixes.

Foolishly or otherwise, I largely agreed with all the points raised, and subsequently found myself with fourteen or fifteen separate issues to resolve.

The situation was also made worse because I was trying to use CodeProject to keep track of all the things I had agreed to do, meaning that I had to continuously trawl the comments section of each article to remind myself of what I was supposed to be working on.

It even got to the stage where I was worrying that I'd fail to deliver on something - silly I know, but there you are!

Keeping a list on paper was a definite step in the right direction, but since I do all my coding on the same machine, it seemed somewhat inelegant, and anyway, we all know what happens to crucial bits of paper left lying around on desks and such.

The next step was to hunt around on the web for a tool to meet the following requirements:

  • Simple interface
  • Support for hierarchical data
  • Numbered items/subitems
  • Open file format
  • Freeware

Simple, huh! not!

I will admit that I did not spend weeks searching, but I am still surprised at the general lack of software matching my needs.

On reflection, I think that the reason may be simple: people are so used to commercial software being 'feature-rich' that when they come to design software themselves, they (not unreasonably) think they too need to cram as much in as possible, often leading to software where a lot of essential functionality is hidden away in the menu bar.

So, surprise, surprise, I decided to write something myself.

However, it's fair to say that I did not originally intend to post it on CodeProject and am only really doing so because I had a heap of fun solving some very interesting problems and these are what I think make it worth it.

Using the Software

There's really very little I need to say here since every feature/function is explicitly visible in the interface.

Nevertheless, the following list of basic capabilities and omissions may go someway to answering any questions that arise:

  • Files are stored in XML format with .xml file extension.
  • Trying to load a non-tasklist file will generally fail (unless you read the code to see how to circumvent it).
  • The number of items/subitems is limited only by memory (although performance may be the deciding factor before you exhaust memory).
  • Marking a parent item as 'done' will also gray-out child items, but they are not disabled or automatically marked as 'done'.
  • An ellipsis (...) indicates that an item has sub-items.
  • All items can be expanded or collapsed (by double-clicking).
  • Top-level items and sub-items are created using different toolbar buttons.
  • There are task-specific context-menus.
  • The previously open tasklists are re-opened on startup.
  • The tasklist is automatically saved when closing the software or minimizing it to the system tray.
  • The priority of a task is shown as a grayscale box to the left of the item.

Points of Interest

Here's where we come to the side-projects I was talking about, the first two of which I intend to work up into follow-up articles.

They are:

  1. The 'ordered' tree control, which incorporates a non-client gutter for displaying the item numbers.

    The idea stemmed from research I did into alternative designs for a tree-list control, which did not solve it by creating a hybrid control incorporating a tree and a list.

    The hybrid control seems such an obvious solution that I suspect few people have stopped to question it, but it has still always struck me as looking far too much like hard work to be truly elegant ('square pegs' and 'round holes' spring to mind).

    One possible idea is to implement the 'list' portion entirely in the non-client area of the tree. I.e., shift the right hand client edge to the left and then render the list portion in the resulting non-client area.

    Whilst I've yet to get round to building a proof of concept, it was nevertheless this ongoing mental debate which prompted me to try to solve the requirement for numbered items and subitems by rendering the item/subitem numbers in the non-client area.

    Without going into too much detail (as this will subsequently be an article of its own), this is how I got it to work:

    • Handle TVM_INSERTITEM and TVM_DELETEITEM to know exactly when items are added and removed.
    • In these handlers recalculate the width of the gutter required to display the widest 'dotted' item/subitem number. (Note: this is not necessarily simply the deepest subitem.)
    • If the required gutter width changes, call SetWindowPos(NULL, 0, 0, 0, 0, SWP_FRAMECHANGED | SWP_NOMOVE | SWP_NOSIZE | SWP_NOZORDER) to force Windows to recalculate the non-client area of the control.
    • Handle WM_NCCALCSIZE when it does, and offset the left border by the required gutter width.
    • Handle WM_NCPAINT for painting the numbers.

    This is necessarily an over-simplification, but it captures the essence of the solution, and all that essentially remains is lots of fiddling about to ensure the non-client area gets redrawn at the the right times to stay synchronized with the client area.

  2. Embedding .RC control definition data directly in a .cpp file to break the dependency on binary resources (a.k.a. 'Runtime Dialogs').

    This is an idea that has been floating about for quite some time and which has only recently gelled into a workable solution.

    The problem, put simply, is that if you want to take advantage of the resource editor in Visual Studio (and who doesn't), then you very quickly find yourself stuck with having to load dialog templates from resources compiled into the binary file.

    This further means that if you want to make use of a dialog across multiple projects, then either you need to copy and paste the dialog template between project .RC files, or you need to build the dialog into a DLL from which it can be accessed.

    'Runtime Dialogs' (a snappy title I coined myself) is a solution that neatly sidesteps both the nuisance of copying dialog resources between resource files and the extra work (and maintenance) involved in packaging dialogs in DLLs.

    And it works like this:

    • First, you design your dialog template in the resource editor, create a CDialog derived class using class wizard, and wire up all the controls just as you normally would.
    • Next, you #include "runtimedlg.h" and change all instances of CDialog to CRuntimeDlg.
    • Then, you cut and paste the control definition section from the appropriate section in the .RC file and embed it directly in the dialog's .cpp file as a static string (with a bit of tweaking to handle double quotes and such like).
    • Finally, in the constructor of your dialog, you simply call CRuntimeDlg::AddRCControls(...) passing the control definitions as a string.
    • And CRuntimeDlg takes care of the rest including, if required, auto-sizing the dialog to suit the control layout.

    I'm certainly not suggesting that this is a 'win-win' solution for all situations but it certainly has merits in its closer coupling of dialog template to dialog code which makes sharing dialogs across multiple projects a breeze.

    P.S.: In case it's not clear here, I used CRuntimeDlg to create CToDoCtrl which encapsulates the ordered tree together with the priority, date and comments controls as a single simple-to-instantiate control.

    I'm also proposing to use them in the .NET port of my ProjectZip add-in for VC6.

  3. Embedding the XML file in a web page.

    This is possibly the most satisfying aspect of the whole project because it was completely unexpected.

    What I mean is that, until recently, my knowledge of DOM and XMLDOM was virtually non-existent, as it's only since I've become more interested in the presentation of AbstractSpoon that I've been forced to get to grips with the various implementations of DOM and XMLDOM out there.

    I'm pleased to say that the code on my site works under IE 6.0, Netscape 7.1, and Mozilla, although custom code was required to achieve this.

Generic MFC Classes that may prove Useful to You

The following table lists a wide range of utility classes written for this project. They can all be included in any MFC project provided you include any class dependencies too. Feel free to ask any questions relating to these specific classes and how to use them.

Class Name

Description

Class Dependencies
(apart from MFC)

CAboutDlg

Customizable "About…' dialog not requiring a dialog resource. Supports html encoded text

CRuntimeDlg, CRCCtrlParser

CAutoComboBox

Adds only unique items to the drop list and shuffles the list so that the last added item is at the top

CHoldRedraw

CAutoFlag

Encapsulates the setting and unsetting of a boolean variable thru the lifetime of the class instance

CColorButton

Non-ownerdraw button that displays the selected colour on the button face and displays the colour dialog when clicked

CEnColorDialog

CColorComboBox

Owner-draw combobox for displaying and selecting user defined colours

CDateHelper

Encapsulation of various rountines for calculating date spans and for formatting

CDeferWndMove

Encapsulation of the Win32 API

CDialogHelper

Re-implementation of the CDialog DDX/DDV rountines to avoid the MFC error messages when the user clears a number edit (for instance)

CDlgUnits

Encapsulates the MapDialogRect Win32 API

CDockManager

Class for managing the docking of one popup window to another.

*CSubclassWnd, CHoldRedraw, CAutoFlag

CDriveInfo

Encapsulates various rountines for querying about drives, files and disk space

CEnBitmap

Adds support to CBitmap for loading non-bmp files and resources.

CEnBitmapEx, CColorReplacer, CImageBlurrer, CImageColorizer, CImageContraster, CImageEmbosser, CImageFlipper, CImageGrayer, CImageLightener, CImageNegator, CImageResizer, CImageRotator, CImageSharpener, CImageShearer, CImageSysColorMapper, CImageTinter

Adds image manipulation funationality to CEnBitmap

CEnBitmap

CEnColorDialog

Adds saving and restoring of custom colours to CColorDialog

CEnCommandLineInfo

Adds functions for extracting and querying commandline switches

CEnEdit

Adds user-defined button capabilities to CEdit

CMaskEdit, CThemed, CDlgUnits

CEnToolBar

Adds support for using alternative resource or file images

CFileEdit

Adds buttons for browsing and displaying the file represented by the text in the edit control. Also shows the file's small icon.

CEnEdit, CFolderDialog, CMaskEdit, CDlgUnits, CThemed, CSysImageList

CHoldRedraw

Encapsulates WM_SETREDRAW

CHotKeyCtrlEx

Fixes a number of behavioural problems including the handling of certain keypresses

CHotTracker

Tracks the cursor movement over user-defined windows and posts event messages as necessary

*CSubclassWnd,

CLimitSingleInstance

Provides simple method to detect if another instance of an app is running

CMaskEdit

Adds simple character masking to CEdit

CNcGutter

Allows the UI of standard windows controls to be extended by supporting any number of columns to be added to the non-client area of the window. Favours tabular controls like lists, trees, etc

*CSubclassWnd, CHoldRedraw, CThemed, CDlgUnits

COrderedTreeCtrl

CTreeCtrl implementation of CNcGutter displaying a single column showing the hierarchical position of each tree item in '1.2.3.4' notation.

CHoldRedraw, CThemed

CPasswordDialog

Very simple password dialog not requiring a dialog resource

CRuntimeDlg, CRCCtrlParser

CPropertyPageHost

Simpler replacement for CPropertySheet allowing easier creation as a child window

CRCCtrlParser

Used by CRuntimeDlg for parsing dialog resource-like text

CRuntimeDlg

Adds support to CDialog for building dialogs at runtime ie. dialogs do not require a dialog resource

CRCCtrlParser

CShortcutManager

Class for handling application keyboard shortcuts.

*CSubclassWnd, CWinClasses

CSpellCheckDlg

Spellcheck dialog not requiring a dialog resource, which interfaces with ISpellCheck (interface to Open Office dictionaries)

CRuntimeDlg, CRCCtrlParser, ISpellCheck

CSysImageList

Encapsulates the Windows system image list (file/folder images)

CTabCtrlEx

Adds post rendering callback for the tabs without using owner-draw

CThemed

Encapsulates themed (XP) and non-themed (the rest) drawing of windows controls

CTimeEdit

Adds a button for specifying time units and provided routines for converting time to and from different time units

CEnEdit, CMaskEdit, CThemed, CDlgUnits

CToolbarHelper

Adds support for dialog toolbar tooltips, multiline tooltips and dropbuttons with menus

*CSubclassWnd, CEnBitmap, CEnBitmapEx

CTrayIcon

Encapsulates the Shell_NotifyIcon Win32 API. Also provides balloon tips and animation

*CSubclassWnd,

CUrlRichEditCtrl

Adds support for recognizing urls, clicking them and setting custom url callbacks

CWinClasses

Encapsulates the ::GetClassName Win32 functions

CXmlFile, CXmlItem

Non-Unicode class for reading and writing xml files

CXmlFileEx

Adds encryption capabilities to CXmlFile

CXmlFile, IEncryption

* CSubclassWnd was originally written by Paul DiLascia for MSJ magazine. The version I use has been heavily extended to suit my specific needs. The classes that depend on it here need this extended version.

Further Work

Whilst this tool was originally intended for my personal use only, it is now a 'community' project, so if you find it useful and want to make suggestions for enhancements or bug fixes, then post below. 

History      

  • 6.6.7 (03 May 2013)
    • Very important fix for 'malformed xml' on loading
  • 6.6.6 (13 Apr 2013)
    • Fixed problem using AltGr key in rich text comments
    • Fixed problem with auto-restoration of tasklist backups
    • Fixed tasks being removed even if archiving fails 
    • Fixed completed tasks not being searched 
    • Fixed lower-casing of archive filenames  
  • 6.6.5 (29 Mar 2013) 
    • Fixed icon bug exporting to tdl  
    • Fixed percent done not updating when time spent changes
    • Fixed import of Freemind 'rich content' comments
    • Fixed erroneous reload messages when daylight saving changes 
    • Fixed various translation bugs 
    • Fixed various HTML export formatting issues 
    • Fixed tab order bug in 'Offset Task Dates' dialog  
  • 6.6.4 (09 Mar 2013) 
    • Fixed input bug with dropped-down category combo 
    • Fixed bug formatting file links in HTML
    • Fixed yearly recurring task bug
    • Fixed recurring task date visibility bug 
  • 6.6.3 (02 Mar 2013)
    • Remove 'Hide Parent Tasks' from Filter Bar options combo when this duplicates the related preference 
    • Replace Gantt message with static text to avoid (annoying) popup 
    • Fix Due Date bug introduced in 6.6.2
  • 6.6.2 (23 Feb 2013)
    • Fix incorrectly hidden columns 
    • Fix 'Earliest Due Date' not being saved correctly to task file  
  • 6.6.1 (19 Feb 2013) 
    • Fixed bug with disabled text color option
    • Fixed bug with recurring reminders
    • Fixed 'red ring' around checkboxes with themes turned off
  • 6.6 Feature Release (16 Feb 2013)  
    • Added 'Ctrl+Mousewheel' zooming in calendar
    • Turned off bold attribute in calendar fonts
    • Added recurring task support to iCal export 
    • Added 'Icon' attribute type to custom attribute setup 
    • Added more options to searching by 'Relative' dates, including 'End of Week/Month/Year'.
    • Added 'Alloc to' to 'To' line of email
    • Added checkbox to task selection dialog to allow comments to be selected for 'Visible Columns'
    • Added preference to always hide parent tasks in list-view
    • Added task dependents to info-tip
    • Added ability to copy and paste RTF formatting
    • Added preference to control 'Percent Done' increments
    • Added preference to locate 'Comments' and 'Fields' to left of tasklist
    • Added support recurring reminders for recurring tasks 
    • Added checkboxes to allow custom attributes to be disabled in addition to being deleted
    • Added button to allow custom attributes to be imported from another tasklist
    • Added new visual styles for printing: Wrapped, Tabular and Paragraph.  
    • Added a preference has been added to calculate a parent task's due date as being the latest of its subtasks' due dates 
    • Added preferences to calculate a parent task's start date as being the earliest/latest of its subtasks' start dates
    • Added a button to the custom attribute dialog to allow symbols to be used for column titles
    • Added a button to allow custom attributes to be imported from another tasklist
    • Added support for relative custom dates. 
    • Allow 'flag' custom attributes to be settable via clicking the tasklist column
    • Allow searching on all tasks even if in filtered view
    • Improved task caching performance
    • Extended 'Recurrence' dialog to support 'First <weekday> in Month' etc
    • Auto-save preferences have been changed to be entirely user-specified
    • Fixed copy/paste of background colour in RTF control 
    • Fixed relative date calculations 
    • Fixed reminder dialog to remember its last state 
    • Fixed copying simple text comments such that font formatting is no longer copied 
    • Fixed task icon dialog to be resizable 
    • Saved 'finds' automatically added to filter droplist.    
  • 6.5.10 (31 Oct 2012)
    • Fixed Vista/W7 shutdown bug
  • 6.5.9 (15 Oct 2012)
    • Fixed various Windows shutdown scenarios
    • Fixed unexpected growth in preferences file
    • Fixed redraw bug with Find Tasks dialog
    • Fixed bug handling custom time formats
    • Fixed bug matching partial strings 
  • 6.5.8 (19 Sep 2012) 
    • Fixed an important resource leak 
  • 6.5.7 (01 Sep 2012)  
    • Fix dialog fonts 
    • Fix assigning empty strings to custom attribute lists 
    • Fix redraw bug loading tasklist  
  • 6.5.6 (27 Aug 2012)
    • Fixed various Outlook importing and drag'n'drop issues 
    • Fixed task icons not appearing in task-tree 
    • Fixed CSV importing of tags 
    • Fixed multiple-selection of tasks overwriting custom attributes 
  • 6.5.5 (18 Aug 2012) 
    • Use relative paths for language file and dictionary files
    • Fixed circular dependency crash
    • Fixed redraw bug checking out multiple tasklists
    • Don't check delay-loaded tasklists for readonly/timestamp changes 
  • 6.5.4 (13 Aug 2012) 
    • Fixed comments of incomplete tasks appearing struck-thru
    • Fixed sorting of completed tasks on last-modified date
    • Fixed bug in restoring and processing 'Find Task' rules
    • Fixed loss of filter when delay-loading tasklist with due tasks
    • Fixed rich-text translation of find/replace dialogs
    • Fixed calendar entries going missing after new task is created 
  • 6.5.3 (01 Aug 2012) 
    • Fix various translation-related bugs
    • Ensure start/due dates get correctly bumped when tasks recur
  • 6.5.2 (29 Jul 2012)
    • Fix various translation issues
    • Fix calendar plugin not updating when a task is added to the tree
    • Fix MRU numbering above 9 
    • Fix broken 'Task Recurrence" menu option 
    • Fix Edit menu items not being hidden when their respective columns are hidden 
  • 6.5.1 (25 Jul 2012)  
    • Add support for '.' in float fields that use another character for the decimal point 
    • Ensure start dates get bumped when tasks recur 
    • Add rollback feature to preferences 
    • Improve reliability when closing down Windows 
    • Fix various translation-related bugs  
  • 6.5 Feature Release (15 Jul 2012) 
    • Moved labels above fields for easier translation
    • Added custom user-defined attributes
    • Added support for relative dates in 'Find Tasks'
    • Added table support to rtf comments
    • Added full-justify support to rtf comments
    • Added RTF support for increment/decrement font size>Added checks to prevent overwriting taskfiles when exporting to 'tasklist'
    • Added preference to control default task icons
    • Added support for filtering on calendar view
    • Allowed exporting of multiple tasklists with 'selected task' filter
    • Added 'Task Recurrence...' command to Edit menu
    • Added 'Go to Task Dependency' command to Edit menu
    • Added 'Sort' command to top of Sort menu
    • Added icons to rich text context menu
    • Added missing commands to rich-text context menu
    • Added time estimate/spent alpha key to set units (eg typing '10d', will now set the value to 10 and the units to days) 
    • Moved Calendar to tabbed view
    • Made preferences scrollable => scalable
    • Restored last custom filter on startup
    • MS Word now used for RTF2HTML conversion
    • Improved 2 way conversion with FreeMind 
    • Heaps of fixes and tweaks  
  • 6.4.10 (19 Jun 2012) 
    • Fixed drag'n'drop bug causing Outlook to be unnecessarily started
    • Fixed Initialisation bug when restoring filters   
  • 6.4.9 (09 Jun 2012)
    • fix bug where last comments character is being truncated
    • Fix -cmd commandline switch
    • Fix "task due within the next 7 days" incorrectly showing overdue tasks
    • Fix GanttViewer problem with %done
    • Fix bug with status filtering
    • Fix focus bugs when maximizing tasklist/comments
    • Fix slow rendering with large comments 
  • 6.4.8 (26 May 2012)
    • Fixed bug where last comments character was being truncated 
    • Fixed '-cmd' commandline switch 
    • Fixed "Tasks due within the next 7 days" filter incorrectly showing overdue tasks
    • Fixed GanttViewer problem with loading percent done
    • Fixed bug with status filtering  
  • 6.4.7 (04 May 2012)  
    • Fix Korean (and other Asian language) input in the comments field
    • Refresh the due date field when completing a recurring task
    • Update the list view after creating a task in task tree
    • Correct inverted backup location options  
  • 6.4.6 (06 Apr 2012) 
    • Fix various commandline bugs
    • Remove restriction on parent/child selection in task selection dialogs
    • Fix 'View Dependecy' bug when tasklist is checked in 
  • 6.4.5 (02 Apr 2012)   
    • Added <no risk> and <no priority> commandline options ('n') 
    • Added 'percent done' commandline option
    • Fixed ISO date problem when exporting from list-view  
  • 6.4.4 (20 Mar 2012)
    • Fixed issue with editing start, due and completion times
  • 6.4.3 (18 Mar 2012)
    • Fixed incorrect file extension when transforming
    • Fixed resizing issue 
    • Fixed 'Copy All' issue in commandline dialog 
    • Fixed 'Pos' not being exported 
  • 6.4.2 (15 Mar 2012) 
    • Fixed restoration of previous filter  
    • Fixed focus issue when changing percent done with Incomplete tasks filter
    • Fixed restoration of previous Export settings  
  • 6.4.1 (13 Mar 2012)   
    • Fixed bug in edit field placement
    • Fixed bug with focus switch when editing dates 
    • Restored scroll performance 
    • Restored date alignment 
    • Fixed bug in preferences initialization 
    • Fixed bug where 'Move task' options are disabled for new tasklist
    • Fixed bug with registry importing of preferences 
  • 6.4 Feature Release (08 Mar 2012)
    • Added support for 'natural' sorting (a la Explorer-sorting)
    • Added support for 'new' style file-open dialog under Vista/Windows 7
    • Added file version to backups, so that no new version will overwrite the backups of a previous version
    • Added preference to Calendar plugin to specify font size
    • Added 'task path' column to list
    • Added option to display entire sub tree of filtered task
    • Added options to expand due/started tasks only
    • Added 'selected tasks' filter
    • Added 'and parent task' to selection dialog
    • Added 'Tags' task attribute
    • Added preferences to better manage backup paths
    • Added commandline switches for the remaining task attributes, and to control how new tasks are created
    • Added much-improved Outlook drag'n'drop support
    • Added support for unc paths in comments field
    • Added 'selected tasks' filter
    • Added options for specifying backup paths
    • Added 'include parent task' to selection dialog (Export, Print, Transform)
    • Added 'Save Tasklist As' to tasklist tabbar context menu
    • Added 'Recalc from start date' to recurrence dialog
    • Added popup dialog for choosing how to link to files in richtext comments
    • Added support for military time to start/due/completed time droplists (eg. 0530, 1705)
    • Added support for edit fields to be positioned to the right of the task view. Useful for wide, shallow displays.
    • Fixed position field to retain order when sorting
    • Fixed listview to calculate it's own column widths
    • Fixed focus bug when setting task icon from list view
    • Fixed initial hidden state of tree/list tab
    • Fixed filtering to filter out parent tasks with empty attributes
    • Fix filtering to filter out parent tasks with empty attributes
    • Fix focus bug when setting task icon from list view
    • Fixed bug with archiving encrypted tasklists
    • Fixed bug with delay-loading of encrypted tasklists
    • Fixed Html exporting of user-defined 'flagged' colour
    • Fixed user-defined colours not being rendered in html export
    • Fixed display bug when moving mouse 'time spent' field's buttons
    • Fixed date alignment bug 
    • Fixed bug when checking out after toggling inclusion of username
    • Fixed bug where filter droplists did not auto-expand when adding a new longest entry
    • Changed MLO file extension to .ml
    • Fixed initial state list sorting bug
    • Fixed priority not getting imported in Csv
    • Fixed bug when not importing all csv attributes
    • Fixed bug allowing edits on readonly comments field
    • Fixed bug with task icon indices 
    • Fixed 'half-visible task' bug in list view
    • New Spanish translation
    • Updated Chinese translation 
    • Status-bar panes are now hidden to match column visibility 
    • Preferences file sections are now sorted
    • Allowed user to edit tree/list icon when it's next to the title text by double-clicking
    • Html images are now saved to subfolder of html file (when exporting)
    • Speed-up tree building
    • Allow user to edit task icon by double-click tree/list icon when it's next to the title text
    • Always show droplist buttons in mapping dialogs 
  • 1.1-6.3 (removed by .dan.g.)
  • 1.0 (4 Nov 2003)
    • Initial release.

License

This article, along with any associated source code and files, is licensed under The Eclipse Public License 1.0

About the Author

.dan.g.
Software Developer Maptek
Australia Australia
Member
.dan.g. is a naturalised Australian and has been developing commercial windows software since 1998.
 
For all his latest freeware visit AbstractSpoon.

Sign Up to vote   Poor Excellent
Add a reason or comment to your vote: x
Votes of 3 or less require a comment

Comments and Discussions

 
You must Sign In to use this message board.
Search this forum  
    Spacing  Noise  Layout  Per page   
GeneralRe: Where/how can I learn how to create a stylesheet?memberzajchapp1 Sep '12 - 23:15 
Where to?
GeneralRe: Where/how can I learn how to create a stylesheet?memberTodoer29 Aug '12 - 9:15 
Thanks for the offer to send me a copy of your stylesheet.
 
Please send it to me at todolist {dot} 20 {dot}spamet {at} spamgourmet {dot} com
GeneralRe: Where/how can I learn how to create a stylesheet?memberzajchapp30 Aug '12 - 0:15 
Will do. I'll dig it out and send it in the next day. Might send it to Dan as well after all.
It will be similar in look/feel to the Z_TDL_MainReport.xsl
Note: I have tried to put sufficient comments etc in these reports to help others to make modifications should they choose.
zajchapp
GeneralRe: Where/how can I learn how to create a stylesheet?memberzajchapp1 Sep '12 - 23:15 
Sent.
Sorry it took so long, but I ended up cleaning it up a bit.
Let me know if this is what you are after.
zajchapp
Questioncsv import and custom attributesmemberlaurentbosc25 Aug '12 - 6:37 
Dan,
 
do you plan to improve import (csv espacially), in order to map csv column with custom attributes ?
It would be very useful.
 
Kind regards
AnswerRe: csv import and custom attributesmember.dan.g.25 Aug '12 - 13:11 
Yes.
.dan.g.
 
AbstractSpoon Software
Facebook
email: abstractspoon2_at_optusnet_dot_com_dot_au


QuestionCsv Import issuememberlaurentbosc25 Aug '12 - 6:35 
Hello Dan,
 
when I try to import a CSV, and map csv column with the 'Tag' column, the result is that the Tag column is blank
AnswerRe: Csv Import issuemember.dan.g.25 Aug '12 - 13:12 
Thx, I'll look into it.
.dan.g.
 
AbstractSpoon Software
Facebook
email: abstractspoon2_at_optusnet_dot_com_dot_au


Bugtwo problem with columnsmembernasehi24 Aug '12 - 17:29 
hi
i have two problem
Problem 1: I select [add/edit custom columns] and define a header (Number).
then add some new task and fill them.
get [SHIFT] to select some task, but filled columns will be clean and never back again (even by undo)!!
it happen also by [CTRL+A].
 

Problem 2: I generate my todolist.
next, [Select Columns] to remove some default columns.
next, I get a copy of my.tdl file.
now, i open it(copy file), columns are reset!!
SuggestionRe Problem 2: two problem with columnsmemberpludikhu24 Aug '12 - 20:40 
Nasehi
 
The way ToDoList works is to remember all these TDL file specific changes in the ini file with a reference to the TDL file name.
So when you copy the file, it has a new name and therefore it doesn't 'see' the column changes.
What you could do, is change the default columns in preferences and these will be valid for every new (copy of a) TDL file.
 
Problem 1 I can confirm so I'll leave that to the specialist Wink | ;-)
 
Grtz
SuggestionRe:Problem 2: two problem with columnsmembernasehi24 Aug '12 - 21:40 
ok. but i have 6 tdl with different subject. and need different columns. is not it better to save columns in each tdl files instead of ini file? or maybe its hard to do this change?
thanks
GeneralRe:Problem 2: two problem with columnsmember.dan.g.25 Aug '12 - 13:13 
nasehi wrote:
is not it better to save columns in each tdl files instead of ini file?
Not if the tasklist is shared.
.dan.g.
 
AbstractSpoon Software
Facebook
email: abstractspoon2_at_optusnet_dot_com_dot_au


QuestionCan ToDoList suppress the "Timestamp Change" dialog box?memberwla_18458624 Aug '12 - 8:50 
ToDoList is set to launch when I logon to Windows, and sit quietly in the tray.   Instead, in the last 2 or 3 versions (I'm currently using 6.5.4), I find that it's opening to a normal window, apparently because it wants instructions about the situation described in the "Timestamp Change" dialog.   The dialog announces that the XML file for the tasklist that TDL is attempting to open "has been modified outside of ToDoList"   It then asks the question, "Would you like to reload it?"
 
I believe that what is changing the timestamp is related to the fact that I've moved the backup folder inside Dropbox, and that the change happens when Dropbox syncs to its server.  
 
Regardless of the cause, my computer is inside a private residence, I am the only occupant, and good malware defense systems are in place.   Therefore, I feel comfortable that whatever is causing the timestamp change is inconsequential.  
 
However, I don't like having TDL open until I need it, and I don't like needing to click the dialog to dismiss it.   Is there some way to prevent this?
SuggestionRe: Can ToDoList suppress the "Timestamp Change" dialog box?memberpludikhu24 Aug '12 - 20:28 
Just a suggestion: could it have something to do with your computer time/clock?
 
I don't see above behaviour although I do not start it automatically and I start Dropbox before starting TDL.
GeneralRe: Can ToDoList suppress the "Timestamp Change" dialog box?memberwla_18458624 Aug '12 - 22:28 
@pludikhu:   You asked:   "could it have something to do with your computer time/clock?"   I suppose it could, but I didn't see this for the first few months I used ToDoList.
GeneralRe: Can ToDoList suppress the "Timestamp Change" dialog box?member.dan.g.25 Aug '12 - 13:14 
Have you tried allowing TDL to reload the tasklist without notification?
.dan.g.
 
AbstractSpoon Software
Facebook
email: abstractspoon2_at_optusnet_dot_com_dot_au


GeneralRe: Can ToDoList suppress the "Timestamp Change" dialog box?memberwla_18458625 Aug '12 - 13:37 
You asked, "Have you tried allowing TDL to reload the tasklist without notification?"   I can only reply:   "Not intentionally." "Reload without notification" sounds like a preference that I haven't knowingly set or changed.
 
Which menu/pane shows this option?
 
What is it called on the menu?
 
If I disable the option, what kinds of notifications would I NOT receive, other than the undesired one being discussed?
GeneralRe: Can ToDoList suppress the "Timestamp Change" dialog box?memberpludikhu26 Aug '12 - 9:17 
Hmmm ... I think Dan refers to
 
Preferences - Multiple Users - Source Control:
 
"If a tasklist's timestamp changes:"
 
Maybe you could try not being informed.
It's main use is if it's modified by someone else.
GeneralRe: Can ToDoList suppress the "Timestamp Change" dialog box?memberwla_18458626 Aug '12 - 11:55 
Thanks very much.   I think you've found the spot that controls this notice.   Since it's grouped under "Multiple Users," and my tasklist has only one file, I didn't think that section applied to me.
 
I unchecked that option, and will run without "being informed" for a while to see if that eliminates the annoyance.   I expect that it will.
 
As I reread that last paragraph, I realize that it is a blow to my self-esteem to think of myself as "not being informed."   I will, therefore, identify myself as "voluntarily unnotified." Smile | :)
GeneralRe: Can ToDoList suppress the "Timestamp Change" dialog box?memberwla_1845861 Sep '12 - 6:34 
Turning off this option, in combination with the other step I took which is described in my other post today, stopped the problem behavior.   Thanks for telling me where to find it.
AnswerRe: Can ToDoList suppress the "Timestamp Change" dialog box? [modified]member.dan.g.26 Aug '12 - 15:33 
wla_184586 wrote:
I believe that what is changing the timestamp is related to the fact that I've moved the backup folder inside Dropbox, and that the change happens when Dropbox syncs to its server.  
ToDoList ought to prompt only if the tasklist timestamp changes, not any of the backups, unless of course you also have them open.
 
ie. Something (maybe Dropbox) is changing the timestamp of your local copy of the tasklist which sounds a little odd if no one else is changing the tasklist.
 
I'll see if I can reproduce it on my machine.
 
ps. Maybe when you save the tasklist and Dropbox syncs it to its server, Dropbox does something to the timestamp. Just an idea.
.dan.g.
 
AbstractSpoon Software
Facebook
email: abstractspoon2_at_optusnet_dot_com_dot_au



modified 26 Aug '12 - 21:59.

SuggestionRe: Can ToDoList suppress the "Timestamp Change" dialog box?memberpludikhu28 Aug '12 - 7:32 
Maybe we should also ask whether wla_184586 has the TDL file sitting on NTFS or FAT(32).
I read this could make a difference because they store dates and time in a different way.
 
Or opening the Dropbox web interface and compare the timestamp on the file on the website with the local copy before starting Dropbox to see if they match or what the difference is.
GeneralRe: Can ToDoList suppress the "Timestamp Change" dialog box?memberwla_1845861 Sep '12 - 6:38 
I've "turned off" the problem, but I'm still not sure about the root cause.   After writing my initial post, I realized that at some point before I knew that ToDoList had its own automatic backup procedure, I had set up another tool to copy my tasklists to Dropbox.   Since doing that duplicated ToDoList's internal function, I've now turned it off.  
 
Looking at the tasklist timestamps, before and after copying the files with the PTReplicator, shows that the modified time is not changed after copying, but the "date accessed" is.   If that is enough to trigger the warning   described originally, then we've found the cause.   If the warning only appears when the modified time is changed, then I have no idea what was causing it.   The primary tasklist is not stored in Dropbox, so Dropbox syncing could not be changing the modified date.  
 
At any rate, turning off the copying by PTReplicator, and turning off the option you mentioned, has stopped the problem.
QuestionF11 to jump between Title and Comments - possible on first press?memberAmpa24 Aug '12 - 2:12 
Is it possible to have the F11 key jump to the comments on first press from editing the title field?
 
At present one must either hit Enter then F11
Or F11 twice.
 
Just a small thing, but would smooth the process for me.
 
Thanks
AnswerRe: F11 to jump between Title and Comments - possible on first press?member.dan.g.25 Aug '12 - 13:16 
Ampa wrote:
Just a small thing, but would smooth the process for me.
But what about the other people who want it to work as it is?
.dan.g.
 
AbstractSpoon Software
Facebook
email: abstractspoon2_at_optusnet_dot_com_dot_au


GeneralRe: F11 to jump between Title and Comments - possible on first press?memberAmpa26 Aug '12 - 3:17 
LOL - I am not for one moment suggesting that you should change the way the program works solely for my benefit (a sod everyone else!
 
It was just a thought and I wondered whether other people might also prefer to save a key press. But since nobody else chimed in with a "me too" or "that's a jolly good suggestion" it seems that this is far from a universal issue! Indeed my proposed streamlining may well get in the way of other folk's standard work flow.
 
I shall simply retrain my brain to hit enter as instinct and all shall be well.
 
As ever - thanks for such a wonderful program, and for being so open to comment in the forum Smile | :)
GeneralRe: F11 to jump between Title and Comments - possible on first press?member.dan.g.26 Aug '12 - 15:19 
I can understand the logic that might say "Since we already have a shortcut for jumping to the tasklist (enter), the comments field ought to have priority when using F11".
.dan.g.
 
AbstractSpoon Software
Facebook
email: abstractspoon2_at_optusnet_dot_com_dot_au


GeneralRe: F11 to jump between Title and Comments - possible on first press?memberAmpa27 Aug '12 - 4:36 
I guess that is what I was getting at.
GeneralRe: F11 to jump between Title and Comments - possible on first press?memberTCP_JM27 Aug '12 - 5:23 
Maybe this can help you: http://abstractspoon.pbworks.com/w/page/41719939/AHK_Scripts[^].
Look for: 'Scripts to address the views in ToDoList directly' on that page. I'm referring to Script 3 and 4.
You can use the other scripts, too, of course.
You just have to make sure that the Postmessage Codes fit to 6.5. The ones you find at present on the webpage fit to 6.3 and 6.4.
Sorry, I didn't have the time to update the page.
You find the right codes in the preferences of ToDoList -> keyboard shortcuts. Enable: 'show menu item Id's' and you'll see the codes.
Jochen

QuestionReplace the attributmemberBuckDanny22 Aug '12 - 19:52 
Hello dan
Bravo for custom attributes. This is great
I'd like to put the attributes as I want. Ie replace the attribute columns according to my sense of use. I use todo a very very big project in France on this subject full (doc management, monitoring activities, monitoring activities, monitoring deny ....)
Have you planned this point in your todolist? whether for when
 
Ink bravo for your great work
 
cordially
 
Daniel
SuggestionRe: Replace the attribut [modified]memberpludikhu26 Aug '12 - 9:11 
Hi Daniel
 
I can't speak for Dan, but personally I don't understand your question.
 
Could it be that you're French speaking?
 
Dans ce cas, vous pouvez l'expliquer en français et moi ou un des réguliers francophones peuvent traduire pour Dan si cela vous arrange.
 
[In that case, you could explain in French and me or one of the French speaking regulars could translate it for Dan if that's ok.]
 
Bàv/Kind regards
 
Patrick

modified 26 Aug '12 - 15:18.

GeneralRe: Replace the attributmember.dan.g.26 Aug '12 - 15:25 
Thx Patrick, I too was a little confused but hadn't got round to responding.
.dan.g.
 
AbstractSpoon Software
Facebook
email: abstractspoon2_at_optusnet_dot_com_dot_au


QuestionTasks with only completed subtasks do not show in List View with "Hide Parent Tasks (List View)" checked.memberRBenny22 Aug '12 - 0:12 
Hi,
 
The behavior in this message's subject seems logical, but for me it would be more practical that only parent tasks with incomplete subtasks are hidden.
 
I now sometimes miss tasks in my List View because they still have completed subtasks that are not archived yet.
AnswerRe: Tasks with only completed subtasks do not show in List View with "Hide Parent Tasks (List View)" checked.member.dan.g.22 Aug '12 - 15:44 
Sorry RB, I'm not understanding what you are getting at.Confused | :confused:
.dan.g.
 
AbstractSpoon Software
Facebook
email: abstractspoon2_at_optusnet_dot_com_dot_au


GeneralRe: Tasks with only completed subtasks do not show in List View with "Hide Parent Tasks (List View)" checked.memberRBenny22 Aug '12 - 19:00 
Well, if I have these tasks/subtasks:
 
- Task1
- Task1.1
- Task1.2 (completed)
- Task2
- Task2.1 (completed)
 
Task1.2 and Task 2.1 are completed.
In the Options drop down, I check "Hide parent tasks (List View)" and "Hide completed tasks".
 
When I switch to List View I see only Task1.1 It seems logical now because of the options I selected, but because I hide the completed tasks I expected to see Task2 as well.
GeneralRe: Tasks with only completed subtasks do not show in List View with "Hide Parent Tasks (List View)" checked.memberzajchapp22 Aug '12 - 22:51 
I think this relates to a previous thread here: http://www.codeproject.com/Messages/4264380/Hide-parent-task-list-view.aspx[^]
GeneralRe: Tasks with only completed subtasks do not show in List View with "Hide Parent Tasks (List View)" checked.memberRBenny22 Aug '12 - 23:09 
Yes, thanks for pointing that out. Good to see that there are others that think alike.
QuestionIs it possible to sort a group of subtasks?memberWilldoitintime20 Aug '12 - 20:42 
Is it possible to select a number of subtasks belonging to the same main task and sort them by title or an other parameter without affecting the sorting of the rest of the tasklist?
AnswerRe: Is it possible to sort a group of subtasks?member.dan.g.21 Aug '12 - 14:13 
Willdoitintime wrote:
without affecting the sorting of the rest of the tasklist?
No.
 
Can I ask what was the situation that led you to wanting this?
.dan.g.
 
AbstractSpoon Software
Facebook
email: abstractspoon2_at_optusnet_dot_com_dot_au


GeneralRe: Is it possible to sort a group of subtasks?memberWilldoitintime21 Aug '12 - 21:05 
I have a few sub tasks whose title begins with a date, and I wanted to sort them by title so that the date in the title would force listing them by that date order. This was not possible for the selection of subtasks as sorting by title apparently extends to all the tasks in a tasklist.
 
I cannot bypass this problem even by setting the date not as part of the title of each sub task, but as its Due Date field and sorting the selection by Due Date. The sorting again affects the whole tasklist.
GeneralRe: Is it possible to sort a group of subtasks?member.dan.g.22 Aug '12 - 16:08 
It probably wouldn't be hard to implement, but we would need to make sure that it was properly integrated with the existing sorting, and I can't see a simple way to do this right now.
 
Also, you do realise that sorting doesn't change the actual order of the tasks, only the displayed order?
 
And if you were hoping to have a 'top-level' sort and a 'selected' sort together, then this would come with a lot of constraints, because auto-sorting after editing would wipe out the 'selected' sort.
 
Likewise, the 'selected' sort would probably not be persistent.
.dan.g.
 
AbstractSpoon Software
Facebook
email: abstractspoon2_at_optusnet_dot_com_dot_au


GeneralRe: Is it possible to sort a group of subtasks?memberWilldoitintime22 Aug '12 - 18:40 
Thank you for your explanations and pointing out certain limitations about selective sorting.
QuestionAnyone using 64-bit Office?member.dan.g.20 Aug '12 - 18:28 
On Vista/Win7 64-bit?
 
If so, can you do two quick experiments, after backing up your tasklist:
 
1. Drag'n'drop from Outlook onto a blank space in your tasklist.
2. 'File > Import > Outlook' to import some tasks (and making sure you use the 'Folder' button).
.dan.g.
 
AbstractSpoon Software
Facebook
email: abstractspoon2_at_optusnet_dot_com_dot_au


AnswerRe: Anyone using 64-bit Office?memberBenBeachy21 Aug '12 - 2:45 
Not quite what you asked for but given...
 
- Windows 8 Release Preview 64-bit
- Office 2013 64-bit preview
- ToDoList 6.5.5
 
Task drag-and-drop prompts a 'Create Tasks from Outlook' dialog then adds the task to the .tdl . The file link doesn't work--Windows says 'No apps are installed to open this type of link (outlook)'--but that seems like a Windows not ToDoList problem.
 
Task import works as well. The 'Folder' button allows selection of a folder and all the tasks within appear for selection. Selected tasks import successfully.
GeneralRe: Anyone using 64-bit Office?member.dan.g.21 Aug '12 - 14:09 
Thx Ben, that was exactly what I was looking for.
 
BenBeachy wrote:
The file link doesn't work--Windows says 'No apps are installed to open this type of link (outlook)'--but that seems like a Windows not ToDoList problem.
Indeed it is. For some reason recent versions of Outlook do not install the 'outlook:' protocol by default. I propose to handle this better in 6.6.
.dan.g.
 
AbstractSpoon Software
Facebook
email: abstractspoon2_at_optusnet_dot_com_dot_au


GeneralRe: Anyone using 64-bit Office?membertomdavis2722 Aug '12 - 12:47 
I have Windows 7 x64 and Office 2010. I can still setup outlook: as a URL handler with a registry change.
 
I used a file that looks like the one posted here: http://blog.tutorem.com/post/2010/11/10/Outlook-2007-URL-Protocol-Registry-Entry.aspx[^].
 
After setting it, I am able to follow outlook hyperlinks I have in my task list.
AnswerRe: Anyone using 64-bit Office?memberpludikhu22 Aug '12 - 3:36 
Dan
 
W7/64 + Office 2010 (sorry, was fighting a BSOD since Monday ...)
 
Second: Tools - Import - Microsoft Outlook: fabulous what you're able to extract! Allocated To, Allocated By, priority (high=10/normal=5), comments, dates ... great job!
 
First one: same observation as BenBeachy.
Just a question about the drag'n'drop: why is normal priority 1? Why not 5 too? And why is high only 2?
Same for an e-mail: also prio 1 but those can also have a 'High Importance', 'Normal Importance' and 'Low Importance' which might map to 10 - 5 - 1 respectively.
 
Also: why is the import giving the Outlook ID in External ID and the drag'n'drop in a File Link? In this latter case the Outlook comments don't seem to be transferred either.
 
Would it be (I'm thinking out loud) necessary or not to warn when someone tries to import the same task twice (same File Link/External ID respectively)?
Second observation: would you want to remember the setting to remove the tasks from Outlook?
And also: what could be the reason to keep the External ID/File Link to Outlook when you remove the task from Outlook?
Remove task from Outlook doesn't seem to work when selecting a mail instead of a task: by design?
I also noticed 1 hour difference between modified date in Outlook and Last Modified in TDL.
 
Anyway, it seems they primarily do what they're supposed to do, but I'd go for Import for a more complete data transfer.
 
Glad you showed me what these options can do Wink | ;-)
 
Great job
Thanks!
 
Patrick
GeneralRe: Anyone using 64-bit Office?member.dan.g.22 Aug '12 - 15:47 
Thx Patrick. I'll treat all your comments as bug reports.
.dan.g.
 
AbstractSpoon Software
Facebook
email: abstractspoon2_at_optusnet_dot_com_dot_au


GeneralRe: Anyone using 64-bit Office? 6.5.6memberpludikhu27 Aug '12 - 1:11 
Dan
 
A lot seems fixed in this new pre-feature release: priorities, file link, time difference, ...
 
I'm NOT stressing everything should be solved but what still seems to remain (drag'n'drop) are e.g.:
 
- Would it be (I'm thinking out loud) necessary or not to warn when someone tries to import the same task twice (same File Link/External ID respectively)?
- Second observation: would you want to remember the setting to remove the tasks from Outlook?
- Comments in the Outlook Task Comments field are replaced by the other fields overview
 
But these are just suggestions
 
Seems we're getting real close!
 
I'm going to start a new thread for Custom fields though
 
Grtz
 
Patrick
Questiondata lossmemberilang_co20 Aug '12 - 13:49 
when using 6.5.5 open 6.4.10's file, many data lost(can't see).
zjf

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Permalink | Advertise | Privacy | Mobile
Web02 | 2.6.130516.1 | Last Updated 3 May 2013
Article Copyright 2003 by .dan.g.
Everything else Copyright © CodeProject, 1999-2013
Terms of Use
Layout: fixed | fluid