Quantcast
Channel: VBForums - Visual Basic 6 and Earlier
Viewing all articles
Browse latest Browse all 21843

Using SetMapMode function

$
0
0
Hello everybody!

I have used The SetMapMode function in the gdi32 library to define the device context logical unit.
Then, I have used movetoex and lineto to draw line.
I want to have a mm_himetric map mode.
the problem is when map mode is the default map mode (mm_text), the line is drawn but if it is mm_himetric mode or else, it is in lowerleft bound of the picturebox where drawn a filled square.
Is there a missing function or what is the matter?
Thanks a lot.
this is the code.

Viewing all articles
Browse latest Browse all 21843

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>