📄 subject_38229.htm
字号:
<p>
序号:38229 发表者:夏维 发表日期:2003-05-01 18:59:25
<br>主题:请教大虾
<br>内容:在什么地方响应窗口的最大化和最小化以及还原操作,是哪个消息?<BR>多谢了。
<br><a href="javascript:history.go(-1)">返回上页</a><br><a href=http://www.copathway.com/cndevforum/>访问论坛</a></p>
<hr size=1>
<blockquote><p>
<font color=red>答案被接受</font><br>回复者:zhaiyl 回复日期:2003-05-01 19:20:20
<br>内容:OnSysCommand()<BR>中就可以进行那些操作。<BR><BR>好像是自动就添加了这个函数,响应的是WM_SYSCOMMAND 消息。
<br>
<a href="javascript:history.go(-1)">返回上页</a><br><a href=http://www.copathway.com/cndevforum/>访问论坛</a></p></blockquote>
<hr size=1>
<blockquote><p>
回复者:zhaiyl 回复日期:2003-05-01 19:25:58
<br>内容:原型:afx_msg void OnSysCommand( UINT nID, LPARAM lParam );<BR><BR>nID : <BR>SC_CLOSE Close the CWnd object.<BR><BR>SC_HOTKEY Activate the CWnd object associated with the application-specified hot key. The low-order word of lParam identifies the HWND of the window to activate. <BR><BR>SC_HSCROLL Scroll horizontally.<BR><BR>SC_KEYMENU Retrieve a menu through a keystroke.<BR><BR>SC_MAXIMIZE (or SC_ZOOM) Maximize the CWnd object.<BR><BR>SC_MINIMIZE (or SC_ICON) Minimize the CWnd object.<BR><BR>SC_MOUSEMENU Retrieve a menu through a mouse click<BR><BR>SC_MOVE Move the CWnd object.<BR><BR>SC_NEXTWINDOW Move to the next window.<BR><BR>SC_PREVWINDOW Move to the previous window.<BR><BR>SC_RESTORE Restore window to normal position and size.<BR><BR>SC_SCREENSAVE Executes the screen-saver application specified in the [boot] section of the SYSTEM.INI file.<BR><BR>SC_SIZE Size the CWnd object.<BR><BR>SC_TASKLIST Execute or activate the Windows Task Manager application.<BR><BR>SC_VSCROLL Scroll vertically. <BR><BR>来自MSDN//
<br>
<a href="javascript:history.go(-1)">返回上页</a><br><a href=http://www.copathway.com/cndevforum/>访问论坛</a></p></blockquote>
<hr size=1>
<blockquote><p>
回复者:夏维 回复日期:2003-05-01 20:23:23
<br>内容:感激不尽!谢谢!
<br>
<a href="javascript:history.go(-1)">返回上页</a><br><a href=http://www.copathway.com/cndevforum/>访问论坛</a></p></blockquote>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -