[英]Which message sends when I click on line separator in CSplitterWnd?
I have pane with vertical divider line. 我有垂直分隔线的窗格。 When I move this line on top or bottom, I got size message to List, which exists inside pane. 当我在顶部或底部移动此行时,我收到了尺寸消息到列表,该列表位于窗格内。 But I can't find handler which responsible for messaging when I just click in line without moving. 但是当我单击并没有移动时,我找不到负责消息传递的处理程序。
My problem is: I make one click on line, without dragging, and all my controls which places in bottom pane has disappears. 我的问题是:我单击一行时没有拖动,并且我放在底部窗格中的所有控件都消失了。 SetFocus doesn't work:( SetFocus不起作用:(
Thank you 谢谢
It is very easy to find the handler. 查找处理程序非常容易。 Use Visual Studio's Find In File to search for "CSplitterWnd::OnLButtonDown" in the MFC source folder. 使用Visual Studio的“查找文件”在MFC源文件夹中搜索“ CSplitterWnd :: OnLButtonDown”。 When it finds that line you can double click on the line in the Find Results window and the source code will open at that line. 当找到该行时,您可以在“查找结果”窗口中双击该行,源代码将在该行打开。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.