|
|
От: |
SchweinDeBurg
|
https://zarezky.spb.ru/ |
| Дата: | 21.12.04 13:11 | ||
| Оценка: | |||
BM>void CSpinDlg::OnDeltaposSpin1(NMHDR *pNMHDR, LRESULT *pResult)
BM>{
BM> LPNMUPDOWN pNMUpDown = reinterpret_cast<LPNMUPDOWN>(pNMHDR);
BM> // TODO: Add your control notification handler code here
BM> m_Edit = m_Spin.GetPos32();
BM> UpdateData(FALSE);
BM> *pResult = 0;
BM>}
BM>UDN_DELTAPOS
Sent by the operating system to the parent window of an up-down control when the position of the control is about to change. This happens when the user requests a change in the value by pressing the control's up or down arrow.
The UDN_DELTAPOS notification is sent before the WM_VSCROLL or WM_HSCROLL message, which actually changes the control's position. This lets you examine, allow, modify, or disallow the change.