Re: GUI was Re: why Ada is so unpopular ?

From: Jeffrey Carter (spam_at_spam.com)
Date: 01/22/04


Date: Thu, 22 Jan 2004 19:30:25 GMT

Warren W. Gay VE3WWG wrote:
> Marin David Condic wrote:
>
>> Wait a minute. Aren't directories usually considered to be some kind
>> of tree structure? Doesn't MSVC++ and the MFC supply some kind of tree
>> widget for displaying things like directories? Seems like every time I
>> pop up a directory on Windows, I see something that looks very
>> reminiscent of a tree and one that looks surprisingly like the one I
>> seem to recall was in the MFC. Maybe I'm wrong, but it looks to me
>> like Microsoft might just be keeping some kind of tree data structure
>> in place for handling directories. Not that the fact that Microsoft
>> does something necessarily makes a recomendation for doing the same -
>> but it would seem like it might not be all that painful for some apps.
>
> You're right, but this doesn't work very well when you drop
> into a directory with thousands of files. A smart tree widget
> might just peruse "directory portions", where the tree widget
> is visible (perhaps a less than trivial exercise). But I suspect
> they take the easy way out, and require all entries to be loaded
> in to the widget's dynamic memory. Otherwise performance in large
> directory cases would not be so abysmal.

The Windows directory tree only shows directories; the thousands of
files are not part of the tree. This helps reduce the size of the tree.
The thousands of files are shown in the other pane of the window; as you
note, it can take a long time to display all the files in a directory
with many files.

-- 
Jeff Carter
"People called Romanes, they go the house?"
Monty Python's Life of Brian
79


Relevant Pages

  • GUI toolkit selection for a text editor widget
    ... Syntax highlighting for arbitrary files based on Vim-style syntax ... Should work on windows. ... QMultiLineEdit widget does not support any text styling at all. ... There seems to be a problem with displaying unicode which Text ...
    (comp.lang.python)
  • defining the datasource property
    ... grid.The tree view contains folder directory and grid reflects the contents ... of selected folder.(similar to windows explorer window) ... In order to populate data in to the widget i need to define the datasource ...
    (microsoft.public.dotnet.languages.csharp)
  • ANN: GtkAda contributions 2.1
    ... Custom cell renderers for tree view widget; ... Gtk.Tree_Model.Extension_Store package was added to provide derived ... Gtk.Directory_Browser package provides an implementation of caching tree ...
    (comp.lang.ada)
  • Numerous issues with insurance claim - any advice?
    ... After I submitted names, addresses and phone numbers of the tree owners to the engineering company they did nothing for 4 weeks - not even send a letter requesting the owners remove the tree, although their own report says it needed to be done quickly. ... After the claim had begun, but before any remedial work under this claim started taking place, my wife and I decided to have new PVC windows installed. ... with each being covered in flicks of paint from their rollers - they did not bother covering the windows. ...
    (uk.legal)
  • KeyPreview/KeyDown on TreeView control - Possible Bug?
    ... We have a dialog containing a treeview on the left displaying groups ... in the grid. ... Shift-F2 can still be intercepted by the form. ... We use F2 to rename a group within the tree, ...
    (microsoft.public.dotnet.framework.windowsforms)