Home > Software engineering >  About to join in the rolling news messagebox problem solving
About to join in the rolling news messagebox problem solving

Time:09-27

Case WM_VSCROLL:
The switch (LOWORD (wParam))
{
Case SB_LINEDOWN:
//please note here
Linedown MessageBox (HWND, TEXT (" "), TEXT (" scrollwindow "), MB_OK);
break;
Default:
break;
}

This is a piece of code of handling WM_VSCROLL message, my idea is that the mouse to click as shown in figure arrow down the slider on the scroll bar will pop up a messagebox dialog box, but now encountered a problem: my mouse click down on the scroll bar slider button and then release the left mouse button, as long as the mouse in that position again not removed (when did not press the left mouse button), will popup hint window, that don't understand is why? With what method can realize my idea
  • Related