|
-
Aug 25th, 2006, 09:05 PM
#1
[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?
-
Aug 25th, 2006, 09:11 PM
#2
Hyperactive Member
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?
-
Aug 25th, 2006, 09:18 PM
#3
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|