Results 1 to 6 of 6

Thread: How to ZOOM in/out???

  1. #1

    Thread Starter
    Hyperactive Member mikef's Avatar
    Join Date
    Jun 2000
    Location
    Beach bound...
    Posts
    510

    Question

    Anyone know a simple way to Zoom graphics in a picture box in and out. Maybe an .OCX that does it for you?? All suggestions appreciated!

  2. #2
    PowerPoster Chris's Avatar
    Join Date
    Jan 1999
    Location
    K-PAX
    Posts
    3,238

    Lightbulb

    You can play arround with the PictureBox's ScaleHeight and ScaleWidth properties.

  3. #3
    Guest

    bitblt

    do u know how 2 use bitblt? if u do there is a similar function called stretchblt which will strecth the bitmap

  4. #4

    Thread Starter
    Hyperactive Member mikef's Avatar
    Join Date
    Jun 2000
    Location
    Beach bound...
    Posts
    510

    bitblt

    I know how to use bitblt....but i am not using a bitmap. I am manually drawing a graph on a small picture box, and plotting X & Y coordinates on it. I want to be able to zoom in and see areas where the X&Y cross very closely. I am just using plain old VB line commands and some math functions for arcs...etc.

  5. #5
    Lively Member
    Join Date
    Feb 1999
    Location
    France
    Posts
    90

    If zooming in and out is crucial to your application, you could use the Macromedia Flash ocx. You don't have to make a movie, you can use a still image, and zoom in and out 5%, 1000%, 200% etc....Check it out. If you already have Flash installed on your computer the .ocx will automatically appear in Project/Components. If you don't have Flash, get it for free from the Macromedia website.

  6. #6
    Lively Member
    Join Date
    Jun 2000
    Location
    Ca
    Posts
    93

    how

    how egsactly do you get to project/components to add in the .ocx file?
    Timbudtwo
    I have no life, only one with computers.

    VB 6.0 Enterprise Edition
    [hr]

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