Show / Hide Table of Contents

Method WndUtil.PrintMsg(+ 3 overloads)


Overload

Writes a Windows message to a string. If the message is specified in options, sets s=null and returns false.

public static bool PrintMsg(out string s, wnd w, int msg, nint wParam, nint lParam, PrintMsgOptions options = null, string m_ = null)
Parameters
s  (string)
w  (wnd)
msg  (int)
wParam  (nint)
lParam  (nint)
options  (PrintMsgOptions)
m_  (string)
Returns
bool

Overload(next)

Writes a Windows message to the output, unless it is specified in options.

public static void PrintMsg(wnd w, int msg, nint wParam, nint lParam, PrintMsgOptions options = null, string m_ = null)
Parameters
w  (wnd)
msg  (int)
wParam  (nint)
lParam  (nint)
options  (PrintMsgOptions)
m_  (string)

Overload(next)

Writes a Windows message to a string. If the message is specified in options, sets s=null and returns false.

public static bool PrintMsg(out string s, in MSG m, PrintMsgOptions options = null, string m_ = null)
Parameters
s  (string)
m  (MSG)
options  (PrintMsgOptions)
m_  (string)
Returns
bool

Remarks

The m parameter also accepts System.Windows.Interop.MSG (WPF) and System.Windows.Forms.Message.


Overload(top)

Writes a Windows message to the output, unless it is specified in options.

public static void PrintMsg(in MSG m, PrintMsgOptions options = null, string m_ = null)
Parameters
m  (MSG)
options  (PrintMsgOptions)
m_  (string)

Remarks

The m parameter also accepts System.Windows.Interop.MSG (WPF) and System.Windows.Forms.Message.