====== SetCEControl ====== Sets the cel engine control word. ==== Synopsis ==== ''%%Err SetCEControl (Item bitmapItem,int32 controlWord,int32 controlMask)%%'' ==== Description ==== This call sets the cel engine control word of the bitmap specified by the bitmapItem argument. After this call, the newly modified control word is used whenever the bitmap renders cels. The controlMask argument controls the bits of the bitmap's control word that are modified by a call to ''%%SetCEControl()%%''. ==== Arguments ==== * **bitmapItem** Item number of a bitmap structure. * **controlWord** Value of the new control word for the bitmap. * **controlMask** Bit mask that controls whether the corresponding bit in controlWord is transferred to the CEControl word. If the controlMask bit is set, the corresponding bit in controlWord is transferred to the CEControl word; if the controlMask bit is clear, the corresponding bit in controlWord is ignored. ==== Return Value ==== The call returns 0 if successful or an error code (a negative value) if an error occurs. ==== Implementation ==== Folio call implemented in Graphics folio V20. ==== Associated Files ==== graphics.h, graphics.lib ==== See Also ==== ''%%DrawCels%%''(), [[:documentation:development:opera:pf25:ppgfldr:ggsfldr:gprfldr:01gpr022#xref27677|DrawScreenCels]]()