how to zoom a image in VB6

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • nivaz
    New Member
    • Feb 2008
    • 17

    how to zoom a image in VB6

    hai friends,
    i really want to know how we can zoom a image in VB6 using a hot key
    FOR EX:


    if i presss the + symbol then thei image have to zoom in

    and if i press the - symbol then it have to zoom out.
    waiting for ur replies guys
  • VBWheaties
    New Member
    • Feb 2008
    • 145

    #2
    Originally posted by nivaz
    hai friends,
    i really want to know how we can zoom a image in VB6 using a hot key
    FOR EX:


    if i presss the + symbol then thei image have to zoom in

    and if i press the - symbol then it have to zoom out.
    waiting for ur replies guys
    Set the KeyPreview of your form to True so you can capture the Keypress event of your form.

    Then follow this thread to handle the zooming:

    Comment

    • nivaz
      New Member
      • Feb 2008
      • 17

      #3
      can u send me anything else, that i could understand easily....

      Comment

      • Killer42
        Recognized Expert Expert
        • Oct 2006
        • 8429

        #4
        Originally posted by nivaz
        can u send me anything else, that i could understand easily....
        The thread that VBWheaties linked contains some discussion of the issue, and some code. It should be fairly simple to follow.

        Trust me, you'll understand the subject better by playing around and getting a feel for it than by just copying and pasting.

        Comment

        Working...