TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Dong Lam Trien
826
986
149.1k
How to debug a WndProc function with multiple listview ?
Jan 28 2018 7:32 PM
Suppose I need to capture the listView message and on the form have three listView, the variable m.Msg distinguish the listView1, listView2, listView3, ... and when run output message m.Msg variable in the attachment: http://www.mediafire.com/file/weab5ppsb355kc1/out_WndProc.doc
protected
override
void
WndProc(
ref
Message m)
{
Debug.Print(
"out if: "
+ m.Msg);
if
(m.Msg == WM_NOFITY)
{
Debug.Print(
"in if: "
+ m.Msg);
}
}
Reply
Answers (
2
)
Which is better?
How to get id from other table and insert in other table