GLUCK?! Mouse click event handling!!!

 

Hi guys,

Who has encountered this problem? or write a SD as I have tried several panels from other guys, Glitch is the same everywhere.

Event:

   if(id==CHARTEVENT_OBJECT_CLICK && sparam=="butclose")

When the button is pressed everything is ok, the event is handled,

But here's the kicker:

I was scrolling through the chart and when I release the mouse button on the panel , namely on the button - this button was clicked.

Why is it so? This should not happen, right?

I have backed up my question with proofs and made a video.


 
And remember I told you about the two-step buttons ;)
 

 

THANK YOU. PROBLEM SOLVED.

 
Vladon:

Is that what the problem was? Well, that means you have to dig somewhere else.

You have to solve the problem at the highest level, not by a two-step push.

the problem is that the objects react to the push of the mouse.

 
sergeev:

The problem is that objects react to a mouse click .


Great, how do you make it click instead of click?

I'm probably asking a stupid question, but I'm sick of everyone's questions.

but now I'm into the 5 language, 4 isn't interesting anymore, I want to curb 5. Interesting and powerful language.

 

No, my question was about something else, and all I'm doing is under 4. And the click hold problem is there, I've bypassed it with my own handler.

And by the way, the fourth language is not even half-full in its capabilities.

 
FAQ:
No, my question was about something else, and all I'm doing is under 4. And there is a click hold problem, I bypassed it with my own handler.
So you've solved your problem?
 
Vladon:
So you've solved your problem?
Yeah, I wrote my own mouse and keyboard event handler
 
FAQ:

No, my question was about something else, and all I'm doing is under 4. And the click hold problem is there, I've bypassed it with my own handler.

And by the way, the fourth language is not even half-full in its capabilities.

Perhaps - but you can work wonders with 4 too, because you can use dll, and dll gives you everything :-) I've even made the same dll for 4 mt. But then again, for me it's the programming process itself that's important. Something new always attracts me.
 
All you see in my videos is pure MKL4 and WINAPI (all the visuals are written in mokla)