ControlPaint in CF ?

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Is ControlPaint class available in CF ? If yes, how can I use it ? If not how can I solve the problem to draw lines with xor mode ? In Win32 it is possible to call SetRop2 function, what can I do in CF

Thank yo

Keven Corazza
 
Managed drawing support in CF does not allow ROP2 selection. You can use
unmanaged drawing. For an example see:
http://www.alexfeinman.com/download.asp?doc=RubberBand.zip
This sample demonstrates using unmanaged GDI functions to draw "rubber-band"
selection marker.

Keven Corazza said:
Is ControlPaint class available in CF ? If yes, how can I use it ? If not
how can I solve the problem to draw lines with xor mode ? In Win32 it is
possible to call SetRop2 function, what can I do in CF.
 
Back
Top