|
-
Nov 8th, 2004, 04:28 AM
#1
Thread Starter
Fanatic Member
Shifting / Scrolling a window [Resolved]
I need to scroll my ocx control. So I need to move part of the window and redraw the new bit. Does anyone know the api call to shift the window.
Cheers
Rob
Last edited by THEROB; Nov 11th, 2004 at 12:12 PM.
My secretary hopes that I will pay her, her landlord hopes that she will produce some rent, the Electricity Board hopes that he will settle their bill, and so on. I find it a wonderfully optimistic way of life. [Dirk Gently]
-
Nov 8th, 2004, 10:18 AM
#2
You can use BitBlt for the shifting.
All the buzzt
 CornedBee
"Writing specifications is like writing a novel. Writing code is like writing poetry."
- Anonymous, published by Raymond Chen
Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.
-
Nov 8th, 2004, 10:50 AM
#3
Thread Starter
Fanatic Member
BitBlt is slow - because the entire window needs to be invalidated - Is it possible just to move the windows - then redraw the bit I need.
Thanks for the reply
Rob
My secretary hopes that I will pay her, her landlord hopes that she will produce some rent, the Electricity Board hopes that he will settle their bill, and so on. I find it a wonderfully optimistic way of life. [Dirk Gently]
-
Nov 8th, 2004, 10:58 AM
#4
BitBlt is the fastest thing you get in the entire GDI.
All the buzzt
 CornedBee
"Writing specifications is like writing a novel. Writing code is like writing poetry."
- Anonymous, published by Raymond Chen
Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.
-
Nov 11th, 2004, 12:12 PM
#5
Thread Starter
Fanatic Member
Thanks for the reply - I'll give it a try
Rob
My secretary hopes that I will pay her, her landlord hopes that she will produce some rent, the Electricity Board hopes that he will settle their bill, and so on. I find it a wonderfully optimistic way of life. [Dirk Gently]
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|