|
-
March 12th, 1999, 10:25 PM
#1
How to scroll bitmap picture on the dialog box smoothly?
Dear everybody!
I create an application with a form on which a picture box and some
buttons. I want to open a bitmap file and place it on the picture box
with the scrolling left and right effect! I have tried to use Move command
but the result is not good! The picture is moving with some vibration from
left to right! Could have any method to make it move smoothly?
Thank you anybody help!
-
June 24th, 1999, 05:02 PM
#2
Re: How to scroll bitmap picture on the dialog box smoothly?
You can use the ScrollWindow API from User32 on any control that has an hWnd. You can scroll left, right, up or down by varying the iX and iY parameters - really cool for Easter eggs in your apps 
Be sure to call UpdateWindow straight after this call.
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
|