⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 subject_38229.htm

📁 一些关于vc的问答
💻 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&nbsp;&nbsp; Close the CWnd object.<BR><BR>SC_HOTKEY&nbsp;&nbsp; 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&nbsp;&nbsp; Scroll horizontally.<BR><BR>SC_KEYMENU&nbsp;&nbsp; Retrieve a menu through a keystroke.<BR><BR>SC_MAXIMIZE (or SC_ZOOM)&nbsp;&nbsp; Maximize the CWnd object.<BR><BR>SC_MINIMIZE (or SC_ICON)&nbsp;&nbsp; Minimize the CWnd object.<BR><BR>SC_MOUSEMENU&nbsp;&nbsp; Retrieve a menu through a mouse click<BR><BR>SC_MOVE&nbsp;&nbsp; Move the CWnd object.<BR><BR>SC_NEXTWINDOW&nbsp;&nbsp; Move to the next window.<BR><BR>SC_PREVWINDOW&nbsp;&nbsp; Move to the previous window.<BR><BR>SC_RESTORE&nbsp;&nbsp; Restore window to normal position and size.<BR><BR>SC_SCREENSAVE&nbsp;&nbsp; Executes the screen-saver application specified in the [boot] section of the SYSTEM.INI file.<BR><BR>SC_SIZE&nbsp;&nbsp; Size the CWnd object.<BR><BR>SC_TASKLIST&nbsp;&nbsp; Execute or activate the Windows Task Manager application.<BR><BR>SC_VSCROLL&nbsp;&nbsp; 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 + -