Click to See Complete Forum and Search --> : Problem using MM_HIMETRIC mapping mode


Tonio
March 28th, 1999, 05:16 PM
Hi,

Does MM_HIMETRIC mapping mode have maximum limits?

I'm using Polyline(...) command to plot a line to my CDC,

but when the x and y values reach approx 30000 or -30000,

the lines are no longer drawn in proper places.

Is anybody familiar with this problem?

What settings in CDC should I include?

Thanks in advance.

Martin Speiser
March 29th, 1999, 12:52 AM
Hi Tonio,


you're developing under Win95/98, right? There's a limit with the GDI functions. No GDI function can take a value bigger than 32767 and smaller than -32767.


Martin

Tonio
March 29th, 1999, 06:46 PM
Hi,

Thanks for the info.

Now I could start researching for a work-around.

Regards.

JC
March 29th, 1999, 08:37 PM
Tonio: if you find one, please let me know! I have similar problem in scrolling and zooming a gdi view, and displaying lines and arcs in a path..

Thanks!