Click or drag to resize

MoveEvent Class

X#
Provide information about a MoveEvent, used to notify the program that the user is in the process of moving a window.
Inheritance Hierarchy
Object
  Event
    MoveEvent

Namespace:  VO
Assembly:  VOGUIClasses (in VOGUIClasses.dll) Version: 2.21
Syntax
 CLASS MoveEvent INHERIT Event
Request Example View Source

The MoveEvent type exposes the following members.

Constructors
  NameDescription
Public methodMoveEvent
Initializes a new instance of the MoveEvent class
Top
Properties
  NameDescription
Public propertyHandle
The pointer to the window where the event occurred
(Inherited from Event.)
Public propertyMessage
A dword representing the Windows API message associated with the given event.
(Inherited from Event.)
Public propertyOrigin
A point representing the new location of a window after a MoveEvent was generated.
Public propertyWindow
An object indicating the window or control in which the event occurred. This is helpful, for example, for distinguishing between similar menu events coming from the same context menu attached to different controls.
(Inherited from Event.)
Top
Fields
  NameDescription
Public fieldhWnd (Inherited from Event.)
Public fieldlParam (Inherited from Event.)
Public fieldoWindow (Inherited from Event.)
Public fielduMsg (Inherited from Event.)
Public fieldwParam (Inherited from Event.)
Top
Remarks
MoveEvent events are generated when the user or a program moves a window around on the screen. MoveEvent events are passed to Window:Move(). Although most programs are not interested in MoveEvent events; although it would be rather unusual behavior, a program might wish to anchor the window in some specific area of the screen, for instance.
See Also

Reference