理解这个程序的关键是理解Common控件的WM_NOTIFY消息 这个消息先发给控件自身,自己处理后再决定要不要发给父窗口。 WM_NOTIFY的消息通知码有很多种,如下表 Notification Sent When NM_CLICK The control is clicked with the left mouse button. NM_DBLCLK The control is double-clicked with the left mouse button. NM_RCLICK The control is clicked with the right mouse button.