IGLib  1.5
The IGLib base library EXTENDED - with other lilbraries and applications.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros
WindowNative Class Reference

Public Member Functions

static IntPtr SendMessage (IntPtr hWnd, Int32 Msg, IntPtr wParam, ref COPYDATASTRUCT lParam)
 Sends the specified message to a window or windows. The SendMessage function calls the window procedure for the specified window and does not return until the window procedure has processed the message. More...
 
static IntPtr FindWindow (string lpClassName, string lpWindowName)
 The FindWindow function retrieves a handle to the top-level window whose class name and window name match the specified strings. This function does not search child windows. This function does not perform a case-sensitive search. More...
 
static uint RegisterWindowMessage (string lpString)
 
static IntPtr SendMessage (IntPtr hWnd, Int32 Msg, IntPtr wParam, ref COPYDATASTRUCT lParam)
 Sends the specified message to a window or windows. The SendMessage function calls the window procedure for the specified window and does not return until the window procedure has processed the message. More...
 
static IntPtr FindWindow (string lpClassName, string lpWindowName)
 The FindWindow function retrieves a handle to the top-level window whose class name and window name match the specified strings. This function does not search child windows. This function does not perform a case-sensitive search. More...
 
static uint RegisterWindowMessage (string lpString)
 

Public Attributes

const Int32 WM_COPYDATA = 0x004A
 An application sends the WM_COPYDATA message to pass data to another application More...
 

Member Function Documentation

static IntPtr WindowNative.SendMessage ( IntPtr  hWnd,
Int32  Msg,
IntPtr  wParam,
ref COPYDATASTRUCT  lParam 
)

Sends the specified message to a window or windows. The SendMessage function calls the window procedure for the specified window and does not return until the window procedure has processed the message.

Parameters
hWndHandle to the window whose window procedure will receive the message.
MsgSpecifies the message to be sent.
wParamSpecifies additional message-specific information.
lParamSpecifies additional message-specific information.
Returns

Referenced by CSSendWM_COPYDATA.ClientForm.bnSendMessage_Click().

static IntPtr WindowNative.FindWindow ( string  lpClassName,
string  lpWindowName 
)

The FindWindow function retrieves a handle to the top-level window whose class name and window name match the specified strings. This function does not search child windows. This function does not perform a case-sensitive search.

Parameters
lpClassNameClass name
lpWindowNameWindow caption
Returns

Referenced by CSSendWM_COPYDATA.ClientForm.bnSendMessage_Click().

static uint WindowNative.RegisterWindowMessage ( string  lpString)
static IntPtr WindowNative.SendMessage ( IntPtr  hWnd,
Int32  Msg,
IntPtr  wParam,
ref COPYDATASTRUCT  lParam 
)

Sends the specified message to a window or windows. The SendMessage function calls the window procedure for the specified window and does not return until the window procedure has processed the message.

Parameters
hWndHandle to the window whose window procedure will receive the message.
MsgSpecifies the message to be sent.
wParamSpecifies additional message-specific information.
lParamSpecifies additional message-specific information.
Returns
static IntPtr WindowNative.FindWindow ( string  lpClassName,
string  lpWindowName 
)

The FindWindow function retrieves a handle to the top-level window whose class name and window name match the specified strings. This function does not search child windows. This function does not perform a case-sensitive search.

Parameters
lpClassNameClass name
lpWindowNameWindow caption
Returns
static uint WindowNative.RegisterWindowMessage ( string  lpString)

Member Data Documentation

const Int32 WindowNative.WM_COPYDATA = 0x004A

An application sends the WM_COPYDATA message to pass data to another application

Referenced by CSSendWM_COPYDATA.ClientForm.bnSendMessage_Click(), and CSReceiveWM_COPYDATA.ServerForm.WndProc().


The documentation for this class was generated from the following file: