Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Hi! I was wondering if anyone kn

Status
Not open for further replies.

Sedai

Programmer
Mar 4, 2001
158
US
Hi!

I was wondering if anyone knows good strategies for making a plot 'resize' so that the figure that I'm drawing (a polygon) is as big as possible for the fixed availalbe drawing area (ratio is preserved).
As I don't know many of the functions of the CDC class, I'm looking them up now, but it's kind of confusing. Most likely I'll come up with a solution myself, but some help and suggestions would be greatly appreciated.
thank you. Avendeval


 
Where exactly d you want to place the resizing code?
You can try the SetWindowPos function, which allows you to place a window at a new position & occupying the area you specify.
- Karthika
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top