CHtmlView: How to display a programmatically generated bitmap
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3

Thread: CHtmlView: How to display a programmatically generated bitmap

  1. #1
    Join Date
    Apr 2000
    Location
    Belgium (Europe)
    Posts
    4,056

    CHtmlView: How to display a programmatically generated bitmap

    If you have a CHtmlView (and ideally it should work on a CDHtmlDialog as well), how can you make this display a programmatically generated bitmap ?

    I have control over the used HTML source as well as the code. So pretty much "anything goes" with the exception that I can't register a COM object (no access to HKLM / HKCR) nor would that be desirable if I could. It can use COM technology as long as it doesn't require registry access.

  2. #2
    Join Date
    Sep 2004
    Location
    Holland (land of the dope)
    Posts
    4,123

    Re: CHtmlView: How to display a programmatically generated bitmap

    You could write it to disk and insert the appropriate html code to load it.

  3. #3
    Join Date
    Apr 2000
    Location
    Belgium (Europe)
    Posts
    4,056

    Re: CHtmlView: How to display a programmatically generated bitmap

    I really want to avoid that because of performance and security reasons.

    What I basically want to do is provide an "ownerdraw" for a rectangular block (div, img,...) in the HTML

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center