On 19/05/2016 at 01:08, xxxxxxxx wrote:
Cinema 4D Version: R14
Platform: Windows ;
Language(s) : C++ ;
I'm trying to create a drag feature that's similar to the viewport rectangle mouse drag (but in my own user area). The viewport rectangle drag doesn't seem to result in much CPU, but it also doesn't effect anything else in the interface if the mouse goes over something else.
I can initiate a drag from my user area's InputEvent(), but if I drag the mouse outside of the dialog, the dialog no longer receives any messages. If I initiate a loop inside the InputEvent(), then I get a 100% CPU rate on one core.
How is something like the viewport rectangle drag handled?