How would one go about controlling two horizontal slider bars created from the trackbar_class and be able to process the message for each one of them independantly.
I tried somehting like this:
MSDN says that the wParam is the source of the message but I have not found this to be the case so I am obviously doing something wrong.Code:case WM_HSCROLL:
{
switch(LOWORD(lParam))
{
case TB_LINEUP:
{
switch(LOWORD(wParam))
{
case HSCROLLTOP:
}
}
}
}