佚名通过本文主要向大家介绍了请教高手,请教电脑高手,请教word高手,请教的意思,请教学霸8 6 13 8等相关知识,希望对您有所帮助,也希望大家支持linkedu.com www.linkedu.com
问题: 请教高手:ATL控件向动态库传入窗口句柄,响应消息的问题
描述:
解决方案1:
描述:
ATL控件向动态库传入主窗口句柄hwnd,在动态库中从CWnd派生窗口CMyWindow,设置其父窗口为hwnd然后创建它。
CMyWindow中不能响应双击鼠标消息
解决方案1:
要在窗口类中指定
CS_DBLCLKS Sends a double-click message to the window procedure when the user double-clicks the mouse while the cursor is within a window belonging to the class.