Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. Force a CHtmlView to recalc its layout

Force a CHtmlView to recalc its layout

Scheduled Pinned Locked Moved C / C++ / MFC
csscomhardwarehelpquestion
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • T Offline
    T Offline
    Taka Muraoka
    wrote on last edited by
    #1

    I've hit a CSS bug in IE that disappears when the window is resized. I can't find a way to work around it in CSS and so was wanting to do it in my program's code instead, forcing the embedded browser window to recalculate it's layout after it has been opened (neither a simple refresh nor re-sizing the window seem to work). Anyone know if this is possible?


    0 bottles of beer on the wall, 0 bottles of beer, you take 1 down, pass it around, 4294967295 bottles of beer on the wall. Awasu 2.2 [^]: A free RSS/Atom feed reader with support for Code Project.

    S 1 Reply Last reply
    0
    • T Taka Muraoka

      I've hit a CSS bug in IE that disappears when the window is resized. I can't find a way to work around it in CSS and so was wanting to do it in my program's code instead, forcing the embedded browser window to recalculate it's layout after it has been opened (neither a simple refresh nor re-sizing the window seem to work). Anyone know if this is possible?


      0 bottles of beer on the wall, 0 bottles of beer, you take 1 down, pass it around, 4294967295 bottles of beer on the wall. Awasu 2.2 [^]: A free RSS/Atom feed reader with support for Code Project.

      S Offline
      S Offline
      Sheng Jiang
      wrote on last edited by
      #2

      call SetScrollSizes with desired size. Regards Microsoft MVP in Visual C++ http://blog.joycode.com/jiangsheng

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups