I am developing a Windows Form which contains a ListBox.
Another application, running in the background sends WM_HSCROLL to the current active application which is the one i am working on. The listbox inside form is capable of receiving these messages and receives with no problem.
When i investigate by using Spy++, i see no incoming WM_HSCROLL messages to main window but if dump the messages of listbox's window handler, i see WM_HSCOLL.
My aim is to intercept this WM_HSCROLL messages. Tried to override WndProc but not worked.
Can i override child's WndProc or how can i be aware about messages listbox receives?
thanks.