> I was tracing through my code and discovered something unusual.
> Codewarrior was reporting that the assignment of a value to
> Editable actually changed the value for HasScrollBar, and that the
> assignment of a value to Underlined acually changed the value for
> InsPtVisible.
There is a bug in CodeWarrior Debugger (Windows) where it displays bit
fields backwards. If this is what is happening to you, then your code
itself is actually fine. You can work around this by adding temporary code
to assign the bit fields you are interested in into full byte sized
variables, and then inspecting those in the debugger instead.
-slj-