CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Nov 2008

    How to add a canvas control?

    I want to add a drawable area to my form for drawing some PNGs and I'd like the origin of of my drawable area to be the corner of a control. I'm assuming a canvas will give me this. I know there is a Canvas class but when I go to my Toolbox and then All Windows Forms, there is no canvas. Is there a way to add a canvas via the designer?

  2. #2
    Join Date
    Nov 2008

    Re: How to add a canvas control?

    I figured this out. I found out I can override a Panel's paint method and now I can paint exactly how I want.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Windows Mobile Development Center

Click Here to Expand Forum to Full Width

On-Demand Webinars (sponsored)

We have made updates to our Privacy Policy to reflect the implementation of the General Data Protection Regulation.