InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
IMouseRollOver Class Referenceabstract

#include <IMouseRollOver.h>

Inheritance diagram for IMouseRollOver:
IPMUnknown

Public Types

enum  { kDefaultIID = IID_IMOUSEROLLOVER }
 

Public Member Functions

virtual void MouseEnter (const PMPoint &localMousePos)=0
 
virtual void MouseOver (const PMPoint &localMousePos)=0
 
virtual void MouseLeave ()=0
 
virtual bool8 IsMouseOver () const =0
 
virtual PMPoint GetMouseOverPosition () const =0
 
- Public Member Functions inherited from IPMUnknown
virtual IPMUnknownQueryInterface (PMIID interfaceID) const =0
 
virtual void AddRef () const =0
 
virtual void Release () const =0
 

Detailed Description

Interface used to attach "roll over" mouse behavior to a widget. Roll over behavior changes the appearance of a widget, and/or the cursor, as the mouse passes over it.

Member Function Documentation

virtual PMPoint IMouseRollOver::GetMouseOverPosition () const
pure virtual

Get the mouse point where it was over the associated control, as determined by the previous calls to MouseEnter/Over/Leave. The value is undefined if the last call to this interface was MouseLeave.

virtual bool8 IMouseRollOver::IsMouseOver () const
pure virtual

Is the mouse is over the associated control, as determined by the previous calls to MouseEnter/Over/Leave.

virtual void IMouseRollOver::MouseEnter (const PMPointlocalMousePos)
pure virtual

Called once when the mouse enters the associated control.

virtual void IMouseRollOver::MouseLeave ()
pure virtual

Called when the mouse has left the associated control.

virtual void IMouseRollOver::MouseOver (const PMPointlocalMousePos)
pure virtual

Called periodically while the mouse moves within the associated control.