Results 1 to 3 of 3

Thread: Displaying images with scroll bars

  1. #1
    Guest
    I can't seem to figure out how to use the Image control or the Picture control to display images with vertical and horizontal scroll bars if needed. I got an Internet Explorer control to do what I wanted with gifs and jpgs, but it would ask me if I wanted to save or open my bmp files. Does anyone know how to get scroll bars on a Picture control or an Image control? Are there any good, free controls that could work? Thanks

  2. #2
    Fanatic Member
    Join Date
    Jan 2000
    Location
    Nitro
    Posts
    633
    I think there is an API to put scroll bars in a control. I remember seeing it somewhere.

    Anyway, here is an alternative. How about placing your picture or image control inside a frame and use the Top and Left or Move property to move inside the frame. It will look like the picture is being scroll if you place a vertical and horizontal scroll bar right next to it.

    You can put this in an ocx and make it your own control.

    If you need more detail on this, post again and I will go in detail. When I get home tonight, I will look up that scrollbar API for you.


    See Ya
    Nitro Out

    [Edited by Nitro on 04-22-2000 at 08:38 PM]
    Chemically Formulated As:
    Dr. Nitro

  3. #3
    Guest

    Thumbs up

    Nitro, that was a great idea! After some work and a little thinking, I got it to work! I don't think I would have ever thought of it. Thanks a bunch. As for that api or whatever, I have one that works on a list box, but when I tried it on the Pictures and Images it wouldn't work because they don't have hWnds. It might be the same thing. I'm gonna go and put this into my project, thanks again!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width