BCGControlBar Library for .NET
SendNCMessage Method




A handle to the window whose window procedure is to receive the message.
Specifies the mouse message to be posted.
Specified the point of mouse click in screen coordinates.
Posts the specified mouse message to the non-client area of the window from the specified handle.
Syntax
'Declaration
 
Public Shared Sub SendNCMessage( _
   ByVal handle As IntPtr, _
   ByVal msg As Integer, _
   ByVal mouseScreen As Point _
) 
'Usage
 
Dim handle As IntPtr
Dim msg As Integer
Dim mouseScreen As Point
 
GlobalUtils.SendNCMessage(handle, msg, mouseScreen)
public static void SendNCMessage( 
   IntPtr handle,
   int msg,
   Point mouseScreen
)
public: static void SendNCMessage( 
   IntPtr handle,
   int msg,
   Point mouseScreen
) 
public:
static void SendNCMessage( 
   IntPtr handle,
   int msg,
   Point mouseScreen
) 

Parameters

handle
A handle to the window whose window procedure is to receive the message.
msg
Specifies the mouse message to be posted.
mouseScreen
Specified the point of mouse click in screen coordinates.
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