CDC shape Helps

This is a discussion on CDC shape Helps within the C++ Programming forums, part of the General Programming Boards category; Well i have made an application what i have done is that i have made a circle through CDC (i.e. ...

  1. #1
    Registered User cfrost's Avatar
    Join Date
    Apr 2004
    Posts
    119

    Question CDC shape Helps

    Well i have made an application what i have done is that i have made a circle through CDC (i.e. ellipse ) , I want to detect wether user has clicked the circle or not how can i do this ...
    I have a seprate object of circle drived from shape and i m pointing that circle object via the base class pointer(i.e. shape)...


    Reply as soon as possible

  2. #2
    Registered User Codeplug's Avatar
    Join Date
    Mar 2003
    Posts
    4,673
    Create a Region object and use PtInRegion().

    About Regions

    gg

  3. #3
    Registered User cfrost's Avatar
    Join Date
    Apr 2004
    Posts
    119
    Well i did it my self now next challenge form me is to resize them i m using CRectTracker how can i do this somebody provide me a link for a tutorial on Tracker please need quick help

  4. #4
    Registered User Codeplug's Avatar
    Join Date
    Mar 2003
    Posts
    4,673
    How bout something like this.

    gg

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Finding the outside of arbitrary shape
    By JackR in forum Game Programming
    Replies: 17
    Last Post: 08-21-2008, 02:49 PM
  2. Filling a shape
    By SlayerBlade in forum C Programming
    Replies: 5
    Last Post: 10-07-2005, 08:26 PM
  3. Newbie- having trouble with functions
    By bnmwad in forum C Programming
    Replies: 7
    Last Post: 02-22-2005, 03:41 PM
  4. Area of irregular shape
    By Brian in forum Game Programming
    Replies: 4
    Last Post: 06-23-2004, 10:54 AM
  5. VC++6: Problem : CDC
    By L.O.K. in forum Windows Programming
    Replies: 1
    Last Post: 11-20-2002, 01:15 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21