Вверх ↑
Ответов: 5446
Рейтинг: 323
#1: 2006-11-28 15:18:32 ЛС | профиль | цитата
Neo, SendDlgItemMessage из аплоада в руки, MSDN в зубы - и вперёд. Если мне не изменяет мой склероз (с), ползунок посылает родительскому окну сообщение WM_HSCROLL.

MSDN писал(а):

WM_HSCROLL Notification

The WM_HSCROLL message is sent to a window when a scroll event occurs in the window's standard horizontal scroll bar. This message is also sent to the owner of a horizontal scroll bar control when a scroll event occurs in the control.

(...cut...)

Parameters

wParam
The low-order word specifies a scroll bar value that indicates the user's scrolling request. This word can be one of the following values.

The high-order word specifies the current position of the scroll box if the low-order word is SB_THUMBPOSITION or SB_THUMBTRACK; otherwise, this word is not used.

(...cut...)
SB_THUMBPOSITIONThe user has dragged the scroll box (thumb) and released the mouse button. The high-order word indicates the position of the scroll box at the end of the drag operation.
(...cut...)


lParam
If the message is sent by a scroll bar, then this parameter is the handle to the scroll bar control. If the message is not sent by a scroll bar, this parameter is NULL.

(...cut...)

карма: 1

0