|
-
Dec 4th, 1999, 01:55 AM
#1
Thread Starter
Junior Member
I noticed an app that wrote and opened a very large image that had scroll bars on it.
What kind of file format has scroll bars on the sides of a large image?
Also, what kind of code will allow me to OPEN and WRITE, and what control will allow me to VIEW such an image with scroll bars?
-
Dec 6th, 1999, 02:15 AM
#2
Lively Member
I've used the Kodak/Wang Image Edit control to open 8MB image files and it has several scrollbar property settings.
-
Dec 6th, 1999, 12:15 PM
#3
Junior Member
If you load the initial picture into a picture box that is not on your main screen, you should be able to bitblt to transfer parts of that picture to another smaller picture box that is on your main screen.
You can put a vertical scroll bar and a horizontal scroll bar on the sides of the smaller picture box. Then just calculate how far down the user has clicked on the scroll bars. You should be able to bitblt the appropriate x and y coordinate to the small box from the large picture box that is off the screen.
You can try this. I am not sure if there is a control that reads images with scroll bars, but this is how I handled the situation in the past.
Hope this helps,
dmuir
-
Dec 6th, 1999, 11:39 PM
#4
Thread Starter
Junior Member
Dear DMuir:
Thnaks for the information - I'll look at the bitblt of pixels from one control to another, and also look at the Wang/Kodak control. Leif-p
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
|