You are right, thank you. So, there is no appropriate mechanism to draw colored lines :((
-- Andrey A. Belkin [EMAIL PROTECTED] "Gavin Maxwell" <[EMAIL PROTECTED]> wrote in message news:101902@palm-dev-forum... > > It's *not* WinDrawLine causing the problem - it's WinSetForeColor. How do I > know this? I simply looked up the trap address referred to in the error > message... why did you think it was WinDrawLine causing the problem?? > > FYI, WinSetForeColor is in OS3.5 and above only... and if you are trying to > draw coloured lines you need to use WinPaintLine instead, which again is OS > 3.5 and above only... > > > Gavin. > > Andrey A. Belkin <[EMAIL PROTECTED]> wrote in message > news:101861@palm-dev-forum... > > > > How to draw a line, since WinDrawLine says that my application "tried to > > call Palm OS routine #A398 (unknown trap number). The routine does not > exist > > in this version of the Palm OS." > > But I set up "Palm OS Target" to "Palm OS 3.1 and later" in Project > Settings > > of my CodeWarrior 8 project. > > Also, there are no Compatibility issues specified to WinDrawLine function > in > > API documentation. > > Thanks. > > > > > > > > > > > > -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
