Search
Module:
Directory

   Desktop Functions:

   Smart Device Functions:


Show Recent Changes
Subscribe (RSS)
Misc. Pages
Comments
FAQ
Helpful Tools
Playground
Suggested Reading
Website TODO List
Support Forum
Download Visual Studio Add-In

Terms of Use
Privacy Policy

Search Results for "WindowsMessages" in [All]

Enums

.
Summary
.

Public Enum WindowsMessages As UInteger

.

    Public Enum WindowsMessages As Integer

.

    ''' Applications should send <see cref="WindowsMessages.WmSettingchange"/> to all top-level windows when

.

    ''' To send the <see cref="WindowsMessages.WmSettingchange"/> message to all top-level windows,

.

    ''' <see cref="WindowsMessages.HwndBroadcast"/>.

.

    ''' result of processing the <see cref="WindowsMessages.WmNchitTest"/> message.

.

    ''' result of processing the <see cref="WindowsMessages.WmNchitTest"/> message.

.

    ''' result of processing the <see cref="WindowsMessages.WmNchitTest"/> message.

.

    ''' result of processing the <see cref="WindowsMessages.WmNchitTest"/> message.

.

    ''' <see cref="WindowsMessages.WmHotkey"/> message.

.

    ''' or when the window passes the <see cref="WindowsMessages.WmSysCommand"/> message to the

.

    ''' or when the window passes the <see cref="WindowsMessages.WmSysCommand"/> message to the

.

    ''' as a result of processing the <see cref="WindowsMessages.WmNchitTest"/> message.

.

    ''' For a list of hit-test values, see <see cref="WindowsMessages.WmNchitTest"/>.

.
Documentation
[WindowsMessages] on MSDN

Structures

.

        public WindowsMessages Message;

.

    Public Message As WindowsMessages

Constants

4: WM
.

For a C# enum see WindowsMessages

user32

.

Private Shared Function CallNextHookEx(ByVal hhk As IntPtr, ByVal nCode As Integer, ByVal wParam As WindowsMessages, <[In]()> ByRef lParam As KBDLLHOOKSTRUCT) As IntPtr

.

Private Shared Function CallNextHookEx(ByVal hhk As IntPtr, ByVal nCode As Integer, ByVal wParam As WindowsMessages, <[In]()> ByRef lParam As MSLLHOOKSTRUCT) As IntPtr

.

           ByVal wParam As WindowsMessages, _

.

           ByVal wParam As WindowsMessages, _

.

           ByVal wParam As WindowsMessages, _

.

WindowsMessages,KBDLLHOOKSTRUCT,MSLLHOOKSTRUCT

.

static extern IntPtr DefWindowProc(IntPtr hWnd, WindowsMessages uMsg, IntPtr wParam, IntPtr lParam);

.

Public Shared Function DefWindowProc(ByVal hWnd As IntPtr, ByVal uMsg As WindowsMessages, ByVal wParam As IntPtr, ByVal lParam As IntPtr) As IntPtr

.

WindowsMessages

.

The VirtualKeys (they're just mapped to the VK_* constants) and WindowsMessages enumeration have been omitted as it's quite lengthy.

gdi32

.

    private static extern int SendMessage(IntPtr hWnd, WindowsMessages wMsg, IntPtr wParam, IntPtr lParam);

.

        long result = SendMessage(HWND_BROADCAST, WindowsMessages.WM_FONTCHANGE, IntPtr.Zero, IntPtr.Zero);

.

    public enum WindowsMessages

Delegates

.

private delegate int LowLevelKeyboardProc(int nCode,WindowsMessages wParam, [In] KBDLLHOOKSTRUCT lParam);

.

Private Delegate Function LowLevelKeyboardProc(ByVal nCode As Integer, ByVal wParam As WindowsMessages, <[In]> ByVal lParam As KBDLLHOOKSTRUCT) As Integer

.

WindowsMessages the type of event. This will be WM_KEYDOWN, WM_KEYUP, WM_SYSKEYDOWN or WM_SYSKEYUP

.

private delegate IntPtr LowLevelMouseProc(int code, WindowsMessages wParam, [In] MSLLHOOKSTRUCT lParam);

.

Private Delegate Function LowLevelMouseProc(ByVal code As Integer, ByVal wParam As WindowsMessages, <[In]> ByVal lParam As MSLLHOOKSTRUCT) As IntPtr

.

WindowsMessages

.

Check with WindowsMessages for a list of most (if not all) of the constants that will be passed in as messages to the WndProc method.


 
Access PInvoke.net directly from VS: