Control.setCapture

If the argument is <code>true</code>, causes the receiver to have all mouse events delivered to it until the method is called with <code>false</code> as the argument. Note that on some platforms, a mouse button must currently be down for capture to be assigned.

@param capture <code>true</code> to capture the mouse, and <code>false</code> to release it

@exception SWTException <ul> <li>ERROR_WIDGET_DISPOSED - if the receiver has been disposed</li> <li>ERROR_THREAD_INVALID_ACCESS - if not called from the thread that created the receiver</li> </ul>

class Control
void
setCapture
(
bool capture
)

Meta