MaxCustomControls::Win32API Class Reference


Detailed Description

Acts as a C# bridge to certain Win32 core functions.

List of all members.

Public Member Functions

static int  SendMessage (IntPtr hWnd, uint Msg, UIntPtr wParam, UIntPtr lParam)
  Exposes the ubiquitous SendMessage Win32 API function.
static int  BringWindowToTop (IntPtr hWnd)
  Exposes the BrignWindowToTop method from Win32.

Public Attributes

const int  WM_KEYUP = 0x0101
  Reflects the value of the Win32 define WM_KEYUP.

Member Function Documentation

static int MaxCustomControls::Win32API::SendMessage ( IntPtr  hWnd,
uint  Msg,
UIntPtr  wParam,
UIntPtr  lParam 
)

Exposes the ubiquitous SendMessage Win32 API function.

See MSDN for the numerous ways this method is used.

Parameters:
hWnd The handle of the window to send a message to - see MSDN documentation.
Msg The Message code to send to the window
  • see MSDN documentation.
wParam The WPARAM parameter for this message
  • see MSDN documentation.
lParam The LPARAM parameter for this message
  • see MSDN documentation.
Returns:
The return value is based mostly on the Msg parameter sent to the window - see MSDN documentation.
static int MaxCustomControls::Win32API::BringWindowToTop ( IntPtr  hWnd )

Exposes the BrignWindowToTop method from Win32.

  • see MSDN documentation.
Parameters:
hWnd HWND Handle of window to bring to the top
  • see MSDN documentation.
Returns:
See MSDN documentation for BringWindowToTop(HWND)

Member Data Documentation

Reflects the value of the Win32 define WM_KEYUP.


MaxCustomControls::Win32API MaxCustomControls::Win32API MaxCustomControls::Win32API MaxCustomControls::Win32API MaxCustomControls::Win32API MaxCustomControls::Win32API MaxCustomControls::Win32API MaxCustomControls::Win32API MaxCustomControls::Win32API MaxCustomControls::Win32API
MaxCustomControls::Win32API MaxCustomControls::Win32API MaxCustomControls::Win32API MaxCustomControls::Win32API MaxCustomControls::Win32API MaxCustomControls::Win32API MaxCustomControls::Win32API MaxCustomControls::Win32API MaxCustomControls::Win32API MaxCustomControls::Win32API