I had the NULL handle problem with redrawing my table cells before. I'm
using my own custom table drawing callback to draw my cells.
The way I get data for the cell is to use recH=DmGetRecord(xxx, index),
and after I'm done drawing, I did a MemHandleFree(recH).
Which is wrong and BAD. Because the
> One more question on the topic. I thought i read somewhere that when a
Palm
> app closes, Palm releases all its memory. So in that case, the chunk that
> has been locked multiple times should be freed when the app closes.
> Correct?
Almost. When the app closes, the memory manager deallocate
One more question on the topic. I thought i read somewhere that when a Palm
app closes, Palm releases all its memory. So in that case, the chunk that
has been locked multiple times should be freed when the app closes.
Correct?
Andrew Lathrop <[EMAIL PROTECTED]> wrote in message
news:22338@palm-d
Scratch that, reverse it. I get chunk overlocked errors. That is because i
am never unlocking it, so it gets overselected.
Andrew Lathrop <[EMAIL PROTECTED]> wrote in message
news:22338@palm-dev-forum...
>
> If you don't mind my asking, did you get around it? If so, how? I tried
> not unlockin
If you don't mind my asking, did you get around it? If so, how? I tried
not unlocking the record, and that would give me chunk underlocked errors if
the record was selected multiple times. Thanks for the suggestions,
Andrew
<[EMAIL PROTECTED]> wrote in message news:22290@palm-dev-forum...
>
> I
I had the NULL handle problem with redrawing my table cells before. I'm
using my own custom table drawing callback to draw my cells.
The way I get data for the cell is to use recH=DmGetRecord(xxx, index),
and after I'm done drawing, I did a MemHandleFree(recH).
Which is wrong and BAD. Because th
I have a table in my app. The way i am using the table, once the user
selects a table item, they then have to click a button to edit the record,
delete it, etc. The table and buttons work fine. But, if the user double
clicks the table selection, (selects it twice without clicking anything
else)