Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

How to use CDC::Polygon

Posted on 1998-08-24
1
Medium Priority
?
430 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 200 total points
ID: 1321218
CPoint ptArray[ 4 ];
ptArray[0].x = ...

dc.Polygon( &ptArray, 4 );

Phillip
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Introduction: Dynamic window placements and drawing on a form, simple usage of windows registry as a storage place for information. Continuing from the first article about sudoku.  There we have designed the application and put a lot of user int…
Ready to get certified? Check out some courses that help you prepare for third-party exams.
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 video shows how to quickly and easily deploy an email signature for all users in Office 365 and prevent it from being added to replies and forwards. (the resulting signature is applied on the server level in Exchange Online) The email signat…

783 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