Quantcast
Viewing all articles
Browse latest Browse all 3527

MSHTML image resizing problem

My app hosts an MSHTML based editor for composing emails.  I've recently noticed a problem with the resizing of images.  When the user clicks on one of the eight grapples (or grippers or whatever they're called) and drags it with the intent of resizing the image, it does not work properly at all.  The grapple does not move correctly with the mouse, it is moving much less than it should.  Once completed, the <img> tag is left in an odd state:

<img width="15" height="11" style="width: 23px; height: 7px;" src=...

Notice the width and height don't match.  I suspect one of these factors might contribute:

  • OLECMDID_OPTICAL_ZOOM is changed.
  • I'm on a 4K monitor with DPI set to 250%

It seems like this is a bug/deficiency in MSHTML.


Greg Wittmeyer Gammadyne Corporation www.Gammadyne.com


Viewing all articles
Browse latest Browse all 3527

Trending Articles