从列表视图控件中丢失了WM_NOTIFY [英] Lost WM_NOTIFY from List View control

查看:115
本文介绍了从列表视图控件中丢失了WM_NOTIFY的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个带有列表视图控件的C ++/Win32应用程序.启动应用程序并初始化控件后,如果在列表视图中选择或更改了该项目,它将收到WM_NOTIFY.

但是从菜单打开另一个窗口(例如,打开文件"对话框)后,WM_NOTIFY丢失了-MainDialog :: DialogProc()中未收到任何通知.
关于如何从列表视图恢复输入的任何建议?

I have a C++/Win32 application with List View control. When the application is started and controls are initialized it receives WM_NOTIFY if the item is selected or changed in List View.

But after opening another window from menu (for instance, "Open file" dialog) the WM_NOTIFY is lost - no notifications received in MainDialog::DialogProc().

Any suggestions how to restore input from List View?

推荐答案

应该与模态/无模态有关,请选中此
Should relate to modal/modeless thing, check this old thread[^]


这篇关于从列表视图控件中丢失了WM_NOTIFY的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆