Hello, On 15/11/13 04:30, magicdmer wrote: > I read the codes of UIMouseHandler.cpp and find this function : > void UIMouseHandler::releaseMouse() > It can release the mouse from guest os > > But I look up the VirtualBox SDK help ,can't find any reference functions > about releaseMouse . > > Can someone help me?
There is no such API function, as mouse capturing is an implementation detail in the user interface and the API is not aware of it. What the API sees is messages such as "putMouseEvent" and "putMouseEventAbsolute", and it does not know how they are produced. Regards, Michael -- ORACLE Deutschland B.V. & Co. KG Michael Thayer Werkstrasse 24 VirtualBox engineering 71384 Weinstadt, Germany mailto:michael.tha...@oracle.com Hauptverwaltung: Riesstr. 25, D-80992 München Registergericht: Amtsgericht München, HRA 95603 Geschäftsführer: Jürgen Kunz Komplementärin: ORACLE Deutschland Verwaltung B.V. Hertogswetering 163/167, 3543 AS Utrecht, Niederlande Handelsregister der Handelskammer Midden-Niederlande, Nr. 30143697 Geschäftsführer: Alexander van der Ven, Astrid Kepper, Val Maher _______________________________________________ vbox-dev mailing list vbox-dev@virtualbox.org https://www.virtualbox.org/mailman/listinfo/vbox-dev