Page 1 of 1

VSTGUI 3.6 Custom CControl - No MouseUp event fired

Posted: Sat Sep 24, 2016 7:14 am
by maker
Using the latest VSTGUI code. Custom Control created from CControl, It seems that the MouseUp event is not always fired. While debugging found hat it is NEVER send if there was a movement between the press and release of the mouse. In this case it is not possible to change the color's control based on the mouse up and down status. Tried to use the MouseEnter event but this is also send on a movement, which I do not wish to use for a mouse release.

Re: VSTGUI 3.6 Custom CControl - No MouseUp event fired

Posted: Sat Sep 24, 2016 11:00 am
by Arne Scheffler
Please read https://github.com/steinbergmedia/vstgu ... m-overview on how to handle mouse events.

Re: VSTGUI 3.6 Custom CControl - No MouseUp event fired

Posted: Sun Sep 25, 2016 4:42 am
by maker
Many thanks ! I did follow those requirements but it wasn't sufficient to make this work.
After looking at vstcontrols.cpp found the clue. It works now :D.
P.S My apologies to post this in the wrong forum.