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. Active-X Control Redrawing

Active-X Control Redrawing

Scheduled Pinned Locked Moved C / C++ / MFC
c++cssdockerquestion
3 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.
  • J Offline
    J Offline
    Jared Allen
    wrote on last edited by
    #1

    I'm having some trouble with screen flickering when the browser window (or active X test control container) is scrolled. It is really quiet bad, Is ther any way to get better redrawing? with less flickering? I've tried some double buffering but it doesn't seem to work. Especially with the CDC that the OnDraw function gives me. It is an MFC base Active X control. Any ideas, would be great thanks, JAred.

    L 1 Reply Last reply
    0
    • J Jared Allen

      I'm having some trouble with screen flickering when the browser window (or active X test control container) is scrolled. It is really quiet bad, Is ther any way to get better redrawing? with less flickering? I've tried some double buffering but it doesn't seem to work. Especially with the CDC that the OnDraw function gives me. It is an MFC base Active X control. Any ideas, would be great thanks, JAred.

      L Offline
      L Offline
      Lost User
      wrote on last edited by
      #2

      try overriding the WM_ERASEBKGND. It might help.. If the control is in the whole window

      L 1 Reply Last reply
      0
      • L Lost User

        try overriding the WM_ERASEBKGND. It might help.. If the control is in the whole window

        L Offline
        L Offline
        Lost User
        wrote on last edited by
        #3

        Hi, thanks for the reply, But I've already done that, and it doesn't seem to make much of an improvement with or without it. The main flickering occures when the container window (IE) is scrolled or resized. I'm not sure what else to do, or if this is a common problem. Jared

        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