OLE ServerItem's OnDraw()
Di Luo -- photosoft@monmouth.com
Friday, October 11, 1996
Environment: MSVC 4.2, Windows 95
I try to draw an image in ServerItem's OnDraw().
Unfortunately my third party tool only draws image under MM_TEXT
mapping mode. Is there any way to draw image under this restriction?
Thanks
Di Luo
Jerry Coffin -- jcoffin@taeus.com
Monday, October 14, 1996
At 12:33 PM 10/11/96 -0700, you wrote:
>Environment: MSVC 4.2, Windows 95
>
>I try to draw an image in ServerItem's OnDraw().
>Unfortunately my third party tool only draws image under MM_TEXT
>mapping mode. Is there any way to draw image under this restriction?
Yes, the MM_TEXT mapping mode doesn't restrict you to drawing text - it
merely indicates that the coordinates go in the same directions as text:
from right to left and top to bottom. MM_TEXT is the default mapping mode,
and I'd guess that roughly 90% of graphics in Windows is done in MM_TEXT
mapping mode.
| Вернуться в корень Архива
|