:-) But then all 3.0 devices will show error message that trap not found? :(((
-- Andrey A. Belkin [EMAIL PROTECTED] > Of course there is Andrey, but only on devices that support colour... :-) > > You can draw coloured lines by doing what I'm assuming you are doing - set > the for colour, paint some lines - but this will only work(*) on colour > devices with OS 3.5 or above. > > > Cheers, > Gavin. > > * work in the sense of actually displaying coloured lines... > > > Andrey A. Belkin <[EMAIL PROTECTED]> wrote in message > news:101983@palm-dev-forum... > > > > 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/
