PreSubclassWindow 不是消息, 是由 MFC 窗口类负责调用的虚函数,他可能由 CWnd::SubclassWindow 或者 MFC 的 CBT Hook 调用。OnDrawItem 处理 WM_DRAWITEM 消息,参考 MSDN:The WM_DRAWITEM message is sent to the owner window of an owner-drawn button, combo box, list box, or menu when a visual aspect of the button, combo box, list box, or menu has changed.
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货