BB FlashBack SDK: FBEditor

OnMouseUp

Description

Event handler called when a mouse button is released in the movie playback area of the editor.
 

Syntax

[C#/C++]
void OnMouseUp(Bool mbLeft, Bool mbRight, Bool mbMiddle, Bool ssShift, Bool ssAlt, Bool ssCtrl, int X, int Y);
 

[VB.NET]
Public Sub OnMouseUp (ByVal mbLeft As Boolean, ByVal mbRight As Boolean, ByVal mbMiddle As Boolean, ByVal ssShift As Boolean, ByVal ssAlt As Boolean, ByVal ssCtrl As Boolean, ByVal X As Long, ByVal Y As Long)
 

Parameters

bLeftBtn - set to True when the left button has been pushed.

bRightBtn - set to True when the right button has been pushed.

bMiddleBtn - set to True when the middle button has been pushed.

bShift - set to True if the Shift key is held down.

bAlt - set to True if the Alt key is held down.

bCtrl - set to True if the Ctrl key is held down.

X - the x coordinate of the mouse, relative to the top left corner of the movie playback area.

Y - the y coordinate of the mouse, relative to the top left corner of the movie playback area.

 
 

Setting the event handler

[C#]
void OnMouseUpHandler (Bool mbLeft, Bool mbRight, Bool mbMiddle, Bool ssShift, Bool ssAlt, Bool ssCtrl, int X, int Y)
{}

editor.OnMouseUp += new IFBEditorEvents_OnMouseUpEventHandler(OnMouseUpHandler);
 

[VB]
AddHandler fbEditor.OnMouseUp, AddressOf OnMouseUpHandler
 

[Delphi]
FBEditor.OnMouseUp := OnMouseUpHandler;
 

[C++ Builder]
Editor->OnMouseUp = OnMouseUpHandler;

 

See Also

FBEditor::OnMouseDown   FBEditor::OnMouseMove  FBEditor::OnClick