IOleInPlaceSiteWindowless::SetCapture Method (Int32)
Visual Studio 2015
Enables an in-place active, windowless object to capture all mouse messages.
Assembly: Microsoft.VisualStudio.OLE.Interop (in Microsoft.VisualStudio.OLE.Interop.dll)
Parameters
- fCapture
-
Type:
System::Int32
[in] If TRUE, the container should capture the mouse for the object. If FALSE, the container should release mouse capture for the object.
Return Value
Type: System::Int32S_OK
Mouse capture was successfully granted to the object. If called to release the mouse capture, this method must not fail.
S_FALSE
Mouse capture was denied to the object.
For information on the COM interface, see 48DE7AB3-EB1E-49E1-8D31-CA1EF1F9055D
Show: