首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 开发语言 > C++ >

一个窗口在什么时候能收到WM_GETMINMAXINFO消息

2013-11-29 
一个窗口在什么时候会收到WM_GETMINMAXINFO消息?rt是在窗口出现之前吗?[解决办法]改变窗口大小时出现, 那

一个窗口在什么时候会收到WM_GETMINMAXINFO消息?
rt
是在窗口出现之前吗?
[解决办法]
改变窗口大小时出现, 那应该是在之后出现, 窗口都没有,如何传递消息
[解决办法]
Setting a Breakpoint on a Message Received by a Windows Function
You can set message breakpoints to stop the debugger when a particular WndProc function message is received.
Note   Message breakpoints work only on x86- or Pentium-based systems.
To set a breakpoint on a message 
1.From the Edit menu, click Breakpoints. 
The Breakpoints dialog box appears.
2.Click the Messages tab.
3.In the Break At WndProc text box, type the name of the Windows function. 
If you are setting a breakpoint during a debug session, the list contains the exported functions in your project. 
4.In the Set One Breakpoint For Each Message To Watch list box, select the message.
5.To set another breakpoint, press ENTER, and then repeat steps 3 and 4. 
The Breakpoints list displays the currently active breakpoints.
6.Click OK to set the breakpoints. 
Note If you interrupt execution while Windows or other system code is running, the results can be unpredictable.

热点排行