by ZvezdanD » Sat Jan 31, 2009 10:06 am
Thanks so much to MM developers for those new events. However, I have some complains about them, considering same events within Visual Basic.
1. OnMouseMove should have Button argument as OnMouseDown and OnMouseUp, i.e. it should be Sub OnMouseMove(Button As Int, ShiftState As Int, X As Int, Y As Int)
2. In Visual Basisc when we click on some button, we have the next order of events:
- MouseDown
- Click
- MouseUp
With MM button we have the next order:
- OnMouseDown
- OnMouseUp
- OnClick
Also, when we press a key on some button in Visual Basic (and hold it some time), we have the next order of events:
- OnKeyDown
- OnKeyDown
...
- OnKeyDown
- OnKeyUp
- OnClick
With MM button we have the next order:
- OnKeyDown
- OnKeyDown
...
- OnKeyDown
- OnClick
- OnKeyUp
Well, this second issue with the executing order is not very important if you know what you are doing, but the first one with missing argument could be problematic in some situations.
By the way, when you added such fine events why you didn't add OnKeyPress as well?
Thanks so much to MM developers for those new events. However, I have some complains about them, considering same events within Visual Basic.
1. OnMouseMove should have Button argument as OnMouseDown and OnMouseUp, i.e. it should be Sub OnMouseMove(Button As Int, ShiftState As Int, X As Int, Y As Int)
2. In Visual Basisc when we click on some button, we have the next order of events:
- MouseDown
- Click
- MouseUp
With MM button we have the next order:
- OnMouseDown
- OnMouseUp
- OnClick
Also, when we press a key on some button in Visual Basic (and hold it some time), we have the next order of events:
- OnKeyDown
- OnKeyDown
...
- OnKeyDown
- OnKeyUp
- OnClick
With MM button we have the next order:
- OnKeyDown
- OnKeyDown
...
- OnKeyDown
- OnClick
- OnKeyUp
Well, this second issue with the executing order is not very important if you know what you are doing, but the first one with missing argument could be problematic in some situations.
By the way, when you added such fine events why you didn't add OnKeyPress as well?