Results 1 to 4 of 4

Thread: Determine when mouse is clicked.

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    May 1999
    Location
    Californ-I- A
    Posts
    207

    Post

    Thank you for your help y'all ... so far it's all been very helpful.

    Now what I'm trying to do is, using the GetCursorPosition (That aaron so nicely introduced to me in my last question), is there some way to establish when the mouse button is clicked ... anywhere on any form and then use that getCursorPostition to establish where it was clicked? Basically all I'm trying to do is get my form to unload when the user clicks anywhere else outside that form ... lost_focus doesn't seem to work. Perhaps there's a better idea out there?


    And for Aaron young, you seem to have quite a few answers ... how long you been doing VB. and all the API's you know ... do you have appleman's guide, use borlands win32 reference, or just know em' that well?


    Micah Carrick

  2. #2
    Serge's Avatar
    Join Date
    Feb 1999
    Location
    Scottsdale, Arizona, USA
    Posts
    2,744

    Post

    Take a look at the Previous Post

    ------------------

    Serge

    Software Developer
    [email protected]
    [email protected]
    ICQ#: 51055819


  3. #3
    Guru Aaron Young's Avatar
    Join Date
    Jun 1999
    Location
    Red Wing, MN, USA
    Posts
    2,177

    Post

    I've been using VB for about 4 Years, I started out briefly in Version 3, soon Got 4 then straight onto 5 & 6.

    I went to VB straight from languages like Pascal, Dbase 3+, AMOS, GFA Basic and C/C++ so it wasn't that big a step conceptually.

    Most of my VB knowledge is experience, my first professional employment as a Programmer involved alot of problem solving and code refining, so I learnt alot of useful techniques and tricks early in the game.

    I've read very few to no books on VB or APIs, the only reference I use for the APIs are the Win32 API Help File and MSDN.
    If I can't find my answers there I know I can find them on the Web. (Although I may get an API Book as I find myself using them more and more).
    I know alot of the APIs and I'm sure there's just as many I don't know.

    I love to experiment with code and I'm never happy with the final result, I'm constantly refining it until it's as fast as I can get it to be.

    There's no better way to become specialized than to enjoy what it is you do, and I do, very much, Programming's been a passion for me since I was first introduced to computers when I was 8 years old.

    I would also recommend Forums like this for anyone who even wants to start to learn VB as the experience you can get from trying to solve a problem here is worth more than anything you can be taught in a classroom.

    ------------------
    Aaron Young
    Analyst Programmer
    [email protected]
    [email protected]


    [This message has been edited by Aaron Young (edited 11-30-1999).]

  4. #4

    Thread Starter
    Addicted Member
    Join Date
    May 1999
    Location
    Californ-I- A
    Posts
    207

    Post

    Thank you ... that's working. I'll keep playing with it.

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