Results 1 to 3 of 3

Thread: [RESOLVED] Quick question

  1. #1

    Thread Starter
    PowerPoster gavio's Avatar
    Join Date
    Feb 2006
    Location
    GMT+1
    Posts
    4,462

    Resolved [RESOLVED] Quick question

    I have come accross a strange situation. I can't use Form_Click and Form_MouseDown events at the same time. On one hand, it's logical (because they do the same), but on the other hand, both of theme exist, but can't be used together?

    If one of those events wouldn't exist, it would be the same. Or wouldn't it?

  2. #2
    Hyperactive Member
    Join Date
    Jun 2000
    Location
    NY
    Posts
    497

    Re: Quick question

    They are different events. I'm pretty sure the mousedown event would occur before the click event. It is sometimes hard to capture both events in code. The question is, what do you care? What is it you want to do?
    end war
    stop greed

  3. #3

    Thread Starter
    PowerPoster gavio's Avatar
    Join Date
    Feb 2006
    Location
    GMT+1
    Posts
    4,462

    Re: Quick question

    I'm using Form_MouseDown to release capture (using form as a region). I added some code to Form_Click and it didn't trigger. Then i transfered it to Form_MouseDown and it did. Does APIs have something to do with disabeling Form_Click event? What do i care? I actually don't... was just interested in a decent explanation

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