VSTGUI 3.6 Custom CControl - No MouseUp event fired

A user interface toolkit mainly for audio plug-ins (VST, AudioUnit, etc).
Post Reply
maker
Posts: 22
Joined: Wed Aug 31, 2016 6:33 am

VSTGUI 3.6 Custom CControl - No MouseUp event fired

Post 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.
Last edited by maker on Sun Sep 25, 2016 4:43 am, edited 1 time in total.

Arne Scheffler
Posts: 383
Joined: Mon Jun 20, 2016 7:53 am

Re: VSTGUI 3.6 Custom CControl - No MouseUp event fired

Post by Arne Scheffler »

Please read https://github.com/steinbergmedia/vstgu ... m-overview on how to handle mouse events.

maker
Posts: 22
Joined: Wed Aug 31, 2016 6:33 am

Re: VSTGUI 3.6 Custom CControl - No MouseUp event fired

Post 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.

Post Reply