Results 1 to 5 of 5

Thread: Detective!

  1. #1

    Thread Starter
    Fanatic Member
    Join Date
    Jan 2000
    Location
    Nitro
    Posts
    633

    Thumbs up

    I have asked this question a couple times before but never got a replied.

    Does anyone knows how to pop up a msgbox, once the pointer clicks or moves over the desktop?

    I DO NOT WANT TO USE A TIMER.

    I have looked up SetCapture and ReleaseCapture.

    Thanks

    [Edited by Nitro on 07-02-2000 at 05:36 AM]
    Chemically Formulated As:
    Dr. Nitro

  2. #2

    Thread Starter
    Fanatic Member
    Join Date
    Jan 2000
    Location
    Nitro
    Posts
    633
    Actually, how do I write a mous_move event for the Desktop.


    Thanks!
    Chemically Formulated As:
    Dr. Nitro

  3. #3
    Addicted Member
    Join Date
    Mar 2000
    Location
    Gainesville, FL
    Posts
    131
    Using GetDesktop api, get the handle of the desktop.

    Then, using API, get the handle of the window the mouse is over.

    Then, do something like this:

    Code:
    DoItAgain:
    While HandleOFWindowMouseIsOver <> HandleOfDesktop
         Doevents
    Wend
    MsgBox("blah")
    Goto DoItAgain

  4. #4
    Hyperactive Member theman32x's Avatar
    Join Date
    May 2000
    Location
    New Jersey, USA
    Posts
    305

    lost focus

    have about using the lost focus so when the mouse isn't in ur app then it will pop up a msgbox

  5. #5

    Thread Starter
    Fanatic Member
    Join Date
    Jan 2000
    Location
    Nitro
    Posts
    633
    Thank You Raydr and Theman32x.

    I will try your method and get back to you RayDr.

    I think that was what I was missing - the mouse over api.

    Thanks again
    Chemically Formulated As:
    Dr. Nitro

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