Results 1 to 6 of 6

Thread: How can I flip pics using Image object?

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Feb 2000
    Posts
    23

    Post

    Szia,

    My problem is this: I want to flip pictures using the Image object. I know you can do it with PaintPicture with the pictureboxes, but pictureboxes don't have a Stretch option. The Stretch thing is very important to me, because I want to show whole pictures that are bigger than the screen resolution. Now I want to add some option to flip the image/picture, whatever. So does anyone know how I either make a picturebox to stretch the picture (is it possible??) or either make a picture flip (horz. and/or vert.) using an image object.

    I have the same topic in the general section,
    thank you,

    ------------------
    Baszom a szád szélét, Sanyikám!

  2. #2
    PowerPoster Fox's Avatar
    Join Date
    Jan 2000
    Location
    *afk*
    Posts
    2,088

    Post

    One way will be to draw the picture out the box (e.g. using StretchBlt). I don't know if that works with the image -property, could be you have to try autoredraw...

    With StretchBlt you can also flip the picture.


    Fox

    ------------------
    [email protected]
    ...
    Every program can be reduced to one instruction which doesn't work.


  3. #3
    PowerPoster Fox's Avatar
    Join Date
    Jan 2000
    Location
    *afk*
    Posts
    2,088

    Post

    And please don't post the same msg in more than one board

  4. #4

    Thread Starter
    Junior Member
    Join Date
    Feb 2000
    Posts
    23

    Post

    Thank you for your help, and sorry I posted the message more than once.

    Kain.

    ------------------
    Baszom a szád szélét, Sanyikám!

  5. #5
    PowerPoster Fox's Avatar
    Join Date
    Jan 2000
    Location
    *afk*
    Posts
    2,088

    Post

    No problem

  6. #6
    New Member
    Join Date
    Jul 2000
    Posts
    3

    Lightbulb Flipping pic using Image Object

    The easiest way to flip a pic using Image object is by using a hidden picture box and using the function PaintPicture with that.
    Okay to delete Life ? Please select u'r option
    (Yes - No - Maybe)

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