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. To draw something over a Browser Hosted application Window

To draw something over a Browser Hosted application Window

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.
  • C Offline
    C Offline
    csylesh
    wrote on last edited by
    #1

    I was trying to develop a application to be able to show different documents like .doc, .ppt etc in its view. So I decided to use the Browser Control for the same and I was able to successfully load (navigate) the different documents. My next requirement is to draw some custom text and graphic on top of the loaded document window but I was not able to hook any message to do the same. It seems that once the document is loaded, it is that application which does all the message handling like paint etc. Is there any way out for solving this problem. Thanks in advance for any help on this.

    C 1 Reply Last reply
    0
    • C csylesh

      I was trying to develop a application to be able to show different documents like .doc, .ppt etc in its view. So I decided to use the Browser Control for the same and I was able to successfully load (navigate) the different documents. My next requirement is to draw some custom text and graphic on top of the loaded document window but I was not able to hook any message to do the same. It seems that once the document is loaded, it is that application which does all the message handling like paint etc. Is there any way out for solving this problem. Thanks in advance for any help on this.

      C Offline
      C Offline
      Ceri
      wrote on last edited by
      #2

      If your using an IE window try looking at the DOM. There are many articles on the web using DOM from a C/C++ program

      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