Solved

How to use CDC::Polygon

Posted on 1998-08-24
1
400 Views
Last Modified: 2013-11-19
How do I create a pointer to an array of points in a form that CDC::Polygon would like ?
The on-line help tells me to pass a pointer to an array of CPoint objects or POINT structs, I created a pointer to an array (CPoint *pointarray[4];) but the compiler just laughs at me.

Any help greatly appreciated.

David Murphy
0
Comment
Question by:davidmurphy
1 Comment
 
LVL 7

Accepted Solution

by:
psdavis earned 50 total points
ID: 1321218
CPoint ptArray[ 4 ];
ptArray[0].x = ...

dc.Polygon( &ptArray, 4 );

Phillip
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Here is how to use MFC's automatic Radio Button handling in your dialog boxes and forms.  Beginner programmers usually start with a OnClick handler for each radio button and that's just not the right way to go.  MFC has a very cool system for handli…
Exception Handling is in the core of any application that is able to dignify its name. In this article, I'll guide you through the process of writing a DRY (Don't Repeat Yourself) Exception Handling mechanism, using Aspect Oriented Programming.
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

948 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now