Microsoft DirectX 9.0

CBaseControlWindow::IsCursorHidden

The IsCursorHidden method retrieves the current state of the m_bCursorHidden data member.

Syntax

HRESULT IsCursorHidden(
    long *CursorHidden
);

Parameters

CursorHidden

Pointer to the value of m_bCursorHidden.

Return Value

When called without a parameter, returns OATRUE if the cursor is hidden, or OAFALSE if the cursor is visible.

When called with a parameter, returns an HRESULT value.

Remarks

Internal objects should call this member function without the CursorHidden parameter to avoid locking the critical section. External objects access this member function with the CursorHidden parameter through the IVideoWindow::IsCursorHidden method.

See Also