Dan Hewins wrote:

> I saw Teenee on Roadcoders.  Nice.

Thanks!

> I looked through it and I didn't
> see anthing on Table support in Teenee.  Have you addressed the issue
> of Tables in C++?

There's nothing specifically in the present Teenee or the one I'm almost ready to 
release that addresses tables; they're an
obvious candidate though. If only someone would pay me... ;-)

> I am curious becuse I am creating a C++ Palm OS
> app in which a class takes care of all of the table stuff (loading,
> drawing, etc.) and I have run into a road block.  I want to set a
> call-back for the table item draw routine and I can't get it to work
> any way I can think of.  I tried this->DrawItem but that wouldn't
> compile.  The best I can think of would be to create a "wrapper"
> function in the "real" world that calls my class' draw routine.  But,
> that really destroys the black-box idea...  Any thought or insight
> would be appreciated.

In my Time Place app, I actually have a context object associated with the main table 
which describes the current time, GMT offset
and lots of other little things. I create this object prior to drawing the table and 
associate it as a data member of my MainForm
class. Thus management of the context object is nicely taken care of.

I also 'expose' the object's address by associating it as row data - always for row 0 
(which will always exist for any row that
the draw routine is called against).

'hope this is helpful.

Kind regards,
Christopher
--
Christopher Hunt
Class Action Pty. Ltd.

Complete time zone management for the Palm(tm) connected organizer.
Check out http://www.classactionpl.com/


-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palm.com/devzone/mailinglists.html

Reply via email to