HTMLControl on WM 6.1 - VGA

I am facing trouble enabling "High Resolution" mode in WM6 Professional. I am using a HTMLView.dll to embed an HTMLControl in our application. By default the "HTML" Shown is not in "High Resolution" Mode - The App is appearing all zoomed up and as how it is displayed in lesser resolution Emulators/devices.(QVGA) I have already referred to a few links suggested from folks. Most of the links point to https://docs.microsoft.com/en-us/previous-versions/aa454895(v=msdn.10) which offers a solution to turn off the Emulation layer in WM6 by adding a line to the resource file. HI_RES_AWARE CEUX {1} // To turn off the emulation layer This is because of an accepted bug - discussed at - https://social.msdn.microsoft.com/Forums/en-US/4d3c837d-16f4-4ae4-acc2-96bb8d573111/htmlview-too-large-on-wm6-vga Doing the HI_RES_AWARE didn't help as the view on the HTMLControl was the same. I want to imitate the same functionality that IE Mobile does when I select Menu->View->High Resolution, which does show the HTML the way it's supposed to be shown (Smaller - so that more HTML View screen is achieved). I have already tried to modify the DTM_ZOOMLEVEL which I normally set when an HTML is written to the HTMLControl - But even the least zoom setting doesn't zoom out sufficiently. The view on the IE mobile's high resolution mode is much better. I have also tried getting the width and height of the screen by using the GetDeviceCaps() method, but this only returns me the screen size, which will at the max help me to modify my created window's size. The issue that I am facing is how to enable the high resolution mode automatically on my html pages (here I am not creating the UI for mobile device, it's only the html page). Any pointers?

以上就是HTMLControl on WM 6.1 - VGA的详细内容,更多请关注web前端其它相关文章!

赞(0) 打赏
未经允许不得转载:web前端首页 » HTML5 答疑

评论 抢沙发

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址

前端开发相关广告投放 更专业 更精准

联系我们

觉得文章有用就打赏一下文章作者

支付宝扫一扫打赏

微信扫一扫打赏