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. Background for SDI document

Background for SDI document

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

    I want to add a bitmap as a background to the main Window of SDI document. Can anybody help me what to do? I am really in emergency. I will really appreciate help. Parvez Pathan

    B 1 Reply Last reply
    0
    • P ppathan

      I want to add a bitmap as a background to the main Window of SDI document. Can anybody help me what to do? I am really in emergency. I will really appreciate help. Parvez Pathan

      B Offline
      B Offline
      basementman
      wrote on last edited by
      #2

      Draw the bitmap first in your OnDraw method of your view. Then, draw the rest of your view. You may have to pDC->SetBkMode(TRANSPARENT) to prevent your drawing from hiding the bitmap.  onwards and upwards...

      P 1 Reply Last reply
      0
      • B basementman

        Draw the bitmap first in your OnDraw method of your view. Then, draw the rest of your view. You may have to pDC->SetBkMode(TRANSPARENT) to prevent your drawing from hiding the bitmap.  onwards and upwards...

        P Offline
        P Offline
        ppathan
        wrote on last edited by
        #3

        Can u please provide me the code . I am really not an expert in VC++. That will be really helpful.

        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