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

CodePudding user response:

You can join CTRL + left mouse button pressed, is with the relationship between the
(CTRL + left mouse button) & amp; & Slippery piece of information,

CodePudding user response:

reference 1st floor fly0413 response:
you can add CTRL + left mouse button press, is the relationship with
(CTRL + left mouse button) & amp; & Sliding block information,

State of the mouse said no CTRL is wrong judgment,

CodePudding user response:

What is specific code, thank you
  • Related