We help IT Professionals succeed at work.
Get Started

scrolling an offscreen bitmap

351 Views
Last Modified: 2013-11-07
I am implementing a strip chart, a display that gradually scrolls itself horizontally.I find that I must use an offscreen bitmap, or else the display will scroll fragments of any window that overlies it. Now I'm looking for an operation to scroll an offscreen I am implementing a strip chart, a display that gradually scrolls itself horizontally.I find that I must use an offscreen bitmap, or else the display will scroll fragments of any window that overlies it. Now I'm looking for an operation to scroll an offscreen bitmap.

To scroll a window one uses CopyFromScreen. But this has the problem that it will copy material from an overlying window. So I try to scroll and bitmap using DrawImage to draw a part of my offscreen bitmap into a graphics context that refers to that bitmap itself. Nothing happens.

So what I want to know is, is there an operation that will allow me to, for example, copy the left half of a bitmap onto the right half?

Ken
Comment
Watch Question
CERTIFIED EXPERT
Most Valuable Expert 2012
Top Expert 2008
Commented:
This problem has been solved!
Unlock 1 Answer and 3 Comments.
See Answer
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE