parse out part of windows message

G

gv

Hello,

I just want to parse out the string notification of the message not the rest
that m.tostring returns?

Protected Overrides Sub WndProc(ByRef m As System.Windows.Forms.Message)

ListBox1.Items.Add(m.ToString)

MyBase.WndProc(m)

End Sub 'WndProc

thanks
gv
 
H

Herfried K. Wagner [MVP]

gv said:
I just want to parse out the string notification of the message not the
rest
that m.tostring returns?

What's the "string notification of the message"?
 
G

gv

sorry for not explaining properly

Example:

"m.tostring" returns this for one message
"msg = 0x85 (WM_NCPAINT) hwnd = 0x41240 wparam=0x1 1param = 0x0 result =
0x0"

I just want this part listed in my listbox
WM_NCPAINT

thanks
gv
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top