+ -
当前位置:首页 → 问答吧 → spin控件问题

spin控件问题

时间:2011-12-05

来源:互联网

那位高手给说一下 对于一个spin的控件,在响应spin控件时重载OnVScroll(nSBCode, nPos, pScrollBar)函数和响应UDN_DELTAPOS消息有什么区别啊?
什么时候用哪个函数响应是比较恰当的啊?

作者: ganggangban   发布时间: 2011-12-05

C/C++ code
The UDN_DELTAPOS message is sent before the WM_HSCROLL message, which actually changes the control's position. This enables you to examine, accept, modify, or reject the change. 


作者: shen_wei   发布时间: 2011-12-05