1 - The Virtual List Box(download tutorial source .zip file)
(download tutorial program .seb file only)
While preparing a demo for a previous article, I was struck by the fact that some of the components we take for granted on other systems hide a great deal of their workings from us. This is normally quite all right with me, but there are times when I need more control. A case in point is when programming for a handheld computer - space and speed constraints that are easy to ignore on the big machines are quite noticeable here. By working closer to the objects, you can avoid pitfalls such as inefficient code and bloated data.
A perfect example of this is the CList class - by tinkering with it, we can come up some list variations that are smaller and more efficient (and easier to program) than corresponding ones in an operating system like Windows.
|Copyright © 2001-2006 ebmDevMag.com - Legal Notice|