![]() | InDesign SDK 20.5 |
#include <CCursorProvider.h>

Public Member Functions | |
| CCursorProvider (IPMUnknown *boss) | |
| virtual CursorSpec | GetCursor (IControlView *viewUnderMouse, const SysPoint globalLocation, ICursorMgr::eCursorModifierState modifiers) const |
| virtual bool16 | LocationAffectsCursor (SysRgn cursorRgn) const |
| virtual bool16 | ModifiersAffectCursor (SysRgn cursorRgn) const |
| virtual bool16 | HasLockedState () const |
| virtual void | SetSingleCursor (const CursorSpec &) |
Additional Inherited Members | |
Public Types inherited from ICursorProvider | |
| enum | { kDefaultIID = IID_ICURSORPROVIDER } |
Basic implementation of the ICursorProvider interface, representing the connection between a region on the screen and the cursor to be used when withing that region. Implementors of ICursorProvider should either derive from either this, or just use SimpleCursorProvider.
| virtual |
Default behavior: returns kCrsrPointer
Implements ICursorProvider.
Reimplemented in CToolCursorProvider, and SnapCursorProvider.
| virtual |
| virtual |
Default behavior: returns kFalse
Implements ICursorProvider.
| virtual |
| virtual |
Default behavior: does nothing. In debug builds, this asserts when called unless overridden. The SimpleCursorProvider implementation is intended for providers involving only a single cursor.
Implements ICursorProvider.