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. IE control painting issue. - Urgent.

IE control painting issue. - Urgent.

Scheduled Pinned Locked Moved C / C++ / MFC
help
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.
  • S Offline
    S Offline
    Suyash
    wrote on last edited by
    #1

    Hello, I have a Dialog, where in I show some text and draw some images using DrawText() and Draw(..) functions respectively. Now I need to introduce an IEControl on this dialog. I wish the IE control to behave as if, its the background of my dialog, i.e. when I draw text on my main dialog, some part of the text is present on the main dialog and some part of the text spills over the IE control(this behavior is desired.) however, I wish to show my text in the foreground and the IE control to be on the background. However windows is not providing any APIs for definind Z-Order for a child window and the text out on the dialog. Any pointers in this regard will be highly appreciated. Thanks Suyash

    M 1 Reply Last reply
    0
    • S Suyash

      Hello, I have a Dialog, where in I show some text and draw some images using DrawText() and Draw(..) functions respectively. Now I need to introduce an IEControl on this dialog. I wish the IE control to behave as if, its the background of my dialog, i.e. when I draw text on my main dialog, some part of the text is present on the main dialog and some part of the text spills over the IE control(this behavior is desired.) however, I wish to show my text in the foreground and the IE control to be on the background. However windows is not providing any APIs for definind Z-Order for a child window and the text out on the dialog. Any pointers in this regard will be highly appreciated. Thanks Suyash

      M Offline
      M Offline
      Mark Salsbery
      wrote on last edited by
      #2

      No, there's no Z-order for drawing on a window. It's up to you to make sure you draw on top of whatever you want the text to be on top of. I'm not sure what "IEControl" you are using so I'm not sure how you could potentially know when it's appropriate to draw the text. Mark

      "Great job, team. Head back to base for debriefing and cocktails." (Spottswoode "Team America")

      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