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. Client Area

Client Area

Scheduled Pinned Locked Moved C / C++ / MFC
graphicshelp
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
    syedhassan4
    wrote on last edited by
    #1

    I am drawing something on the OnPaint or OnDraw Method which some times go beyound the Client Area so Scroll Bar activated. After that user can do any thing. Through any event I want to convert whole client screen in to BMP. Problem is that when I took the Client Window Handle it is not giving the Data which is beyond theClient Screen (i.e., currently not visible but visible through scrolling). What I do to grab whole thing which I draw on the Client View. :confused: :confused: :confused: I am looking for any Code . . . any idea . . . any . . . Thanks in adnavce.

    PJ ArendsP 1 Reply Last reply
    0
    • S syedhassan4

      I am drawing something on the OnPaint or OnDraw Method which some times go beyound the Client Area so Scroll Bar activated. After that user can do any thing. Through any event I want to convert whole client screen in to BMP. Problem is that when I took the Client Window Handle it is not giving the Data which is beyond theClient Screen (i.e., currently not visible but visible through scrolling). What I do to grab whole thing which I draw on the Client View. :confused: :confused: :confused: I am looking for any Code . . . any idea . . . any . . . Thanks in adnavce.

      PJ ArendsP Offline
      PJ ArendsP Offline
      PJ Arends
      wrote on last edited by
      #2

      I would create a memory bitmap the required size, select it into a memory DC, and call OnDraw(&memory_DC). The memory bitmap will now contain the entire view, independant of the window size. --- Sonork 100.11743 Chicken Little It may be that your sole purpose in life is simply to serve as a warning to others.

      Within you lies the power for good; Use it!

      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