BCGControlBar Library for .NET
ForwardMouseMessage Method




A top level control to get a mouse message.
The point to click by mouse, in screen coordinates.
A message to send to the top level control.
Sends the mouse message to the top level control from the control clicked by mouse.
Syntax
'Declaration
 
Public Shared Sub ForwardMouseMessage( _
   ByVal topLevelForm As Control, _
   ByVal pt As Point, _
   ByVal msg As Integer _
) 
'Usage
 
Dim topLevelForm As Control
Dim pt As Point
Dim msg As Integer
 
GlobalUtils.ForwardMouseMessage(topLevelForm, pt, msg)
public static void ForwardMouseMessage( 
   Control topLevelForm,
   Point pt,
   int msg
)
public: static void ForwardMouseMessage( 
   Control* topLevelForm,
   Point pt,
   int msg
) 
public:
static void ForwardMouseMessage( 
   Control^ topLevelForm,
   Point pt,
   int msg
) 

Parameters

topLevelForm
A top level control to get a mouse message.
pt
The point to click by mouse, in screen coordinates.
msg
A message to send to the top level control.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

GlobalUtils Class
GlobalUtils Members

Send Feedback