How to draw over controls?

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



Hi,

I want to draw some polygons on a panel, and hope the drawing can be over
the child controls.

In Windows Form, I can create a real-transparent as the top-most canvas,
then drawing on it will be over all other child controls; however, the
Control."CreateParams" property is not supported in CF.

Is there any other way can achieve what I want?

Thank you.




--
Best Regards!
Hong.
---------------------------
Image Processing and Watermark components for .NET
http://www.ImageComponent.NET

Personal Entertainment Shareware and Freeware
http://www.angGoGo.com


.



Relevant Pages

  • Re: Cross-thread operation not valid
    ... //get and format data from UART ... that created the windows form. ... You don't specify how you are drawing the shapes, ... The Invalidatemethod still needs to be called via Invoke() and, ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: Cross-thread operation not valid
    ... //get and format data from UART ... I gather is becuase I did not draw the shapes within the thread ... that created the windows form. ... this results in people drawing to a window and expecting the ...
    (microsoft.public.dotnet.languages.csharp)
  • drawing custom control
    ... I override OnPaint and do my custom drawing code. ... Can someone explain how the drawing of child controls ...
    (microsoft.public.dotnet.framework.windowsforms)
  • RE: drawing custom control
    ... this means that all painting logic is performed in the OnPaint ... I override OnPaint and do my custom drawing code. ... Can someone explain how the drawing of child controls ...
    (microsoft.public.dotnet.framework.windowsforms)
  • How to Launch Clip Organizer?
    ... I'm hosting the Visio Drawing Control in a C# windows form. ... give the user the ability to insert ClipArt into the drawing. ...
    (microsoft.public.visio.developer)