Results 1 to 9 of 9

Thread: mouse-over and RECT

  1. #1

    Thread Starter
    Good Ol' Platypus Sastraxi's Avatar
    Join Date
    Jan 2000
    Location
    Ontario, Canada
    Posts
    5,134
    That's a pretty sweet snippet of code Hack. Do you know where I can find info on all of the little API calls? I can't find a resource and you seem to know a lot about the subject. I'm just a graphic guy
    All contents of the above post that aren't somebody elses are mine, not the property of some media corporation.
    (Just a heads-up)

  2. #2
    Fanatic Member McCain's Avatar
    Join Date
    Jan 2002
    Location
    Sweden/Denmark
    Posts
    802
    Hack: Your method kinda work...
    It works for a square (about 5x5 pixels) in the upper left corner of the picture... If I move my mouse in that square it changes picture but if I move it somewhere else it doesn't work...
    Never argue with fools, they will only drag you down to their level, and beat you with experience.

    Q: How do you tell an experienced hacker from a novice?
    A: The latter thinks there's 1000 bytes in a kilobyte, while the former is sure there's 1024 meters in a kilometer

  3. #3
    Fanatic Member McCain's Avatar
    Join Date
    Jan 2002
    Location
    Sweden/Denmark
    Posts
    802
    Sastraxi: Your method works a little bit better then Hack's but it is *very* flickering when you move the mouse around ontop of the picture.
    Never argue with fools, they will only drag you down to their level, and beat you with experience.

    Q: How do you tell an experienced hacker from a novice?
    A: The latter thinks there's 1000 bytes in a kilobyte, while the former is sure there's 1024 meters in a kilometer

  4. #4

    Thread Starter
    Good Ol' Platypus Sastraxi's Avatar
    Join Date
    Jan 2000
    Location
    Ontario, Canada
    Posts
    5,134
    Change your scalemodes to vbPixels and you should be rid of the problem with Hack's code (I think).
    All contents of the above post that aren't somebody elses are mine, not the property of some media corporation.
    (Just a heads-up)

  5. #5
    Fanatic Member McCain's Avatar
    Join Date
    Jan 2002
    Location
    Sweden/Denmark
    Posts
    802
    hmm... thanks for staking out the obvious when I myself fale to notice... I have my form's scalemode as pixel but forgot to change the picboxes...
    Never argue with fools, they will only drag you down to their level, and beat you with experience.

    Q: How do you tell an experienced hacker from a novice?
    A: The latter thinks there's 1000 bytes in a kilobyte, while the former is sure there's 1024 meters in a kilometer

  6. #6
    Fanatic Member PsychoMark's Avatar
    Join Date
    Feb 2001
    Location
    Netherlands
    Posts
    540
    Originally posted by Sastraxi
    That's a pretty sweet snippet of code Hack. Do you know where I can find info on all of the little API calls? I can't find a resource and you seem to know a lot about the subject. I'm just a graphic guy


    My source of inspiration: http://www.microsoft.com/msdownload/...sdk/sdkupdate/

    (oh, it's about 80 MB of help files, just the core SDK without code samples )
    Teaudirenopossum.Musasapientumfixaestinaure.
    (I can't hear you. There's a banana in my ear)

  7. #7
    I'm about to be a PowerPoster! Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,333
    Originally posted by Sastraxi
    That's a pretty sweet snippet of code Hack. Do you know where I can find info on all of the little API calls? I can't find a resource and you seem to know a lot about the subject. I'm just a graphic guy
    Download the API Viewer from http://www.allapi.net/

  8. #8
    Fanatic Member McCain's Avatar
    Join Date
    Jan 2002
    Location
    Sweden/Denmark
    Posts
    802
    Thanks for all the help, it now works perfectly!
    Never argue with fools, they will only drag you down to their level, and beat you with experience.

    Q: How do you tell an experienced hacker from a novice?
    A: The latter thinks there's 1000 bytes in a kilobyte, while the former is sure there's 1024 meters in a kilometer

  9. #9
    Fanatic Member McCain's Avatar
    Join Date
    Jan 2002
    Location
    Sweden/Denmark
    Posts
    802
    Which is the best way to implement clickable bitmaps with transparency? (Without DX and preferable without bitBlt...)
    Never argue with fools, they will only drag you down to their level, and beat you with experience.

    Q: How do you tell an experienced hacker from a novice?
    A: The latter thinks there's 1000 bytes in a kilobyte, while the former is sure there's 1024 meters in a kilometer

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