开发者

Lost WM_NOTIFY from List View control

开发者 https://www.devze.com 2023-03-10 00:08 出处:网络
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 i开发者_开发问答n List View

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 i开发者_开发问答n 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?


You can use Spy++ to find which window messages List View generates and whether they passed to the parent window.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号