I am using the WinCopyRectangle() function with the winPaintInverse transfer mode:

WinCopyRectangle(NULL, NULL, bounds, bounds->topLeft.x, bounds->topLeft.y, 
winPaintInverse);

I have no problems when running on OS 4.x, but when I try on any 3.5 version of the 
OS, I get the following error:

Appname (ver) called SysFatalAlert with the message "Bliter.c, Line:3338, Unsupported 
transfer mode."

If I try on OS ver 3.3, I get no errors, the area just does not invert.

The documentation states:

"In OS versions before 3.5, the mode parameter was defined as type ScrOperation. It is 
defined as type WinDrawOperation only if 3.5 New Feature Set is present. ScrOperation 
and WinDrawOperation are fully compatible with each other"

Any ideas what the problem is?

This function is used to highlight a table row.  Is there a better way to do this?

Thanks for your help,

-  Dan  :D

--
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/

Reply via email to