>I do not getting the scrollbar for the List control if Struct Alignment is
>set to 68K in Target Settings Panels/Code Generation/68K Processor. If I
>set it to 68K 4-byte, the scrollbar is there and works fine. But this
>doesn't solve all the problems.
>
>When at 68K 4-byte, the scrollbar for the Notepad field doesn't receive
>data at sclRepeatEvent event, newValue is always 0. But the scrollbar acts
>normal at 68K.
You should never have to twiddle the Struct Alignment setting - in fact,
changing it would be asking for trouble since the OS is always putting data
into structs with 68k alignment.
I'd bet you're accidentally corrupting something and it doesn't happen to
be corrupted when you change the Struct Alignment to the nonstandard
setting. But that'll probably just be masking the problem; it isn't the
right solution. Have you tried running under the 3.1 Palm OS Emulator? It
is great at catching accidental overwriting of memory manager and UI object
structures.
-David Fedor
Palm Developer Support
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/