visual C++.NET: creating regions

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Aileen xyz via .NET 247

    #1

    visual C++.NET: creating regions

    hi

    I'm writing a program that lets users create boxes, move themaround and link them together. I'm new to visual C++ so i keephaving syntax errors.
    The only way i've come up with to implement this is by creating arectangle and use mouse events to detect if its being dragged.Then invalidate and redraw. But i need to create a region(comprisi ng of the picturebox) and exclude portions of it(rectangles existing on the screen) before invalidating.

    I tried:
    Rectangle a = Rectangle(20,20 ,50,50);
    Region R = Region(pictureB ox1);
    It won't compile..

    I'd really appreciate any help i can get..
    thx =O)

    --------------------------------
    From: Aileen xyz

    -----------------------
    Posted by a user from .NET 247 (http://www.dotnet247.com/)

    <Id>IisF5wlaNka 9L2aECcr2CQ==</Id>
Working...