This topic has not yet been rated - Rate this topic

IVideoWindow::HideCursor method

Applies to: desktop apps only

The HideCursor method shows or hides the cursor when the mouse is positioned over the video window.

Syntax

HRESULT HideCursor(
  [in]  long HideCursor
);

Parameters

HideCursor [in]

Specifies whether to show or hide the cursor. Must be one of the following values:

ValueMeaning
OATRUE

Hide the cursor.

OAFALSE

Show the cursor.

 

Return value

Possible return values include the following:

Return codeDescription
E_INVALIDARG

Invalid argument.

S_OK

Success.

VFW_E_NOT_CONNECTED

The video renderer filter is not connected.

 

Requirements

Minimum supported client

Windows 2000 Professional

Minimum supported server

Windows 2000 Server

Header

Control.h (include Dshow.h)

Library

Strmiids.lib

See also

Error and Success Codes
IVideoWindow Interface
IVideoWindow::IsCursorHidden

 

 

Send comments about this topic to Microsoft

Build date: 3/6/2012

Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ