简体   繁体   English

当我单击CSplitterWnd中的行分隔符时,发送哪个消息?

[英]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.

相关问题 单击文本框时发送WM_Quit消息 - WM_Quit message being sent when i click on textbox 如何在MFC对话框中制作虚线分隔符? - How can I make a dotted line separator in an MFC dialog? 在CSplitterWnd中设置活动面板 - Set active panel in CSplitterWnd 浏览器将随机 HTTP 消息正文发送到我的 boost.asio 服务器。 我可以改变这个吗? - Browser sends random HTTP message body to my boost.asio server. Can I change this? 我想在qt中的小部件上单击(向左或向右)时显示一条消息 - i want to display a message when i click(left or right) on widget in qt Windows API到Arduino串行写入仅能工作一次,但在重写相同消息时会发送损坏的数据 - Windows API to Arduino Serial write works once but sends corrupted data when the same message is rewritten 您能解释一下C ++函数的每一行在做什么吗? 它会发送击键,但我对如何操作感到困惑 - Can you explain what each line of the C++ function is doing? It sends keystrokes but I am confused by how 当我单击应该播放音乐文件的用户界面中的按钮时,.exe文件关闭 - .exe file closes when i click the button in the userinterface which is supposed to play music file MFC:CSplitterWnd插入符号到底是什么? - MFC: What on earth is a CSplitterWnd Caret? CSplitterWnd的独立滚动条? (MFC) - Independent Scroll Bars for a CSplitterWnd? (MFC)
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM