subject_26235.htm

来自「一些关于vc的问答」· HTM 代码 · 共 36 行

HTM
36
字号
<p>
序号:26235 发表者:浪迹天涯 发表日期:2002-12-30 12:02:54
<br>主题:tjhe 请来领分。
<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>回复者:tjhe 回复日期:2002-12-30 12:40:11
<br>内容:我来也,谢谢。。。
<br>
<a href="javascript:history.go(-1)">返回上页</a><br><a href=http://www.copathway.com/cndevforum/>访问论坛</a></p></blockquote>
<hr size=1>
<blockquote><p>
回复者:浪迹天涯 回复日期:2002-12-30 12:46:23
<br>内容:cs.style &amp;= ~FWS_ADDTOTITLE<BR>cs.style&amp;=~WS_MAXIMIZEBOX;<BR> cs.style&amp;=~WS_MINIMIZEBOX<BR><BR>~FWS_ADDTOTITLE,WS_MAXIMIZEBOX;WS_MINIMIZEBOX<BR>mfc好象没有也,只有类介绍呀。<BR>为何用 &amp;= , 而不用‘=’?
<br>
<a href="javascript:history.go(-1)">返回上页</a><br><a href=http://www.copathway.com/cndevforum/>访问论坛</a></p></blockquote>
<hr size=1>
<blockquote><p>
回复者:tjhe 回复日期:2002-12-30 12:54:08
<br>内容:&amp;= 即<BR>cs.style = cs.style &amp; (~FWS_ADDTOTITLE); 即去除FWS_ADDTOTITLE属性<BR>
<br>
<a href="javascript:history.go(-1)">返回上页</a><br><a href=http://www.copathway.com/cndevforum/>访问论坛</a></p></blockquote>
<hr size=1>
<blockquote><p>
回复者:浪迹天涯 回复日期:2002-12-30 13:06:30
<br>内容:~FWS_ADDTOTITLE,WS_MAXIMIZEBOX;WS_MINIMIZEBOX<BR>还有其他一些结构如,tm之类,<BR>这些东东是不是在SDK里讲有?
<br>
<a href="javascript:history.go(-1)">返回上页</a><br><a href=http://www.copathway.com/cndevforum/>访问论坛</a></p></blockquote>
<hr size=1>
<blockquote><p>
回复者:萧马 回复日期:2002-12-30 13:49:14
<br>内容:Window Styles<BR>WS_BORDER&nbsp;&nbsp; Creates a window that has a border.<BR><BR><BR>WS_CAPTION&nbsp;&nbsp; Creates a window that has a title bar (implies the WS_BORDER style). Cannot be used with the WS_DLGFRAME style.<BR><BR><BR>WS_CHILD&nbsp;&nbsp; Creates a child window. Cannot be used with the WS_POPUP style.<BR><BR><BR>WS_CLIPCHILDREN&nbsp;&nbsp; Excludes the area occupied by child windows when you draw within the parent window. Used when you create the parent window.<BR><BR><BR>WS_CLIPSIBLINGS&nbsp;&nbsp; Clips child windows relative to each other; that is, when a particular child window receives a paint message, the WS_CLIPSIBLINGS style clips all other overlapped child windows out of the region of the child window to be updated. (If WS_CLIPSIBLINGS is not given and child windows overlap, when you draw within the client area of a child window, it is possible to draw within the client area of a neighboring child window.) For use with the WS_CHILD style only.<BR><BR><BR>WS_DISABLED&nbsp;&nbsp; Creates a window that is initially disabled.<BR><BR><BR>WS_DLGFRAME&nbsp;&nbsp; Creates a window with a double border but no title.<BR><BR><BR>WS_GROUP&nbsp;&nbsp; Specifies the first control of a group of controls in which the user can move from one control to the next with the arrow keys. All controls defined with the WS_GROUP style FALSE after the first control belong to the same group. The next control with the WS_GROUP style starts the next group (that is, one group ends where the next begins).<BR><BR><BR>WS_HSCROLL&nbsp;&nbsp; Creates a window that has a horizontal scroll bar.<BR><BR><BR>WS_MAXIMIZE&nbsp;&nbsp; Creates a window of maximum size.<BR><BR><BR>WS_MAXIMIZEBOX&nbsp;&nbsp; Creates a window that has a Maximize button.<BR><BR><BR>WS_MINIMIZE&nbsp;&nbsp; Creates a window that is initially minimized. For use with the WS_OVERLAPPED style only.<BR><BR><BR>WS_MINIMIZEBOX&nbsp;&nbsp; Creates a window that has a Minimize button.<BR><BR><BR>WS_OVERLAPPED&nbsp;&nbsp; Creates an overlapped window. An overlapped window usually has a caption and a border.<BR><BR><BR>WS_OVERLAPPEDWINDOW&nbsp;&nbsp; Creates an overlapped window with the WS_OVERLAPPED, WS_CAPTION, WS_SYSMENU, WS_THICKFRAME, WS_MINIMIZEBOX, and WS_MAXIMIZEBOX styles.<BR><BR><BR>WS_POPUP&nbsp;&nbsp; Creates a pop-up window. Cannot be used with the WS_CHILD style.<BR><BR><BR>WS_POPUPWINDOW&nbsp;&nbsp; Creates a pop-up window with the WS_BORDER, WS_POPUP, and WS_SYSMENU styles. The WS_CAPTION style must be combined with the WS_POPUPWINDOW style to make the Control menu visible.<BR><BR><BR>WS_SYSMENU&nbsp;&nbsp; Creates a window that has a Control-menu box in its title bar. Used only for windows with title bars.<BR><BR><BR>WS_TABSTOP&nbsp;&nbsp; Specifies one of any number of controls through which the user can move by using the TAB key. The TAB key moves the user to the next control specified by the WS_TABSTOP style.<BR><BR><BR>WS_THICKFRAME&nbsp;&nbsp; Creates a window with a thick frame that can be used to size the window.<BR><BR><BR>WS_VISIBLE&nbsp;&nbsp; Creates a window that is initially visible.<BR><BR><BR>WS_VSCROLL&nbsp;&nbsp; Creates a window that has a vertical scroll bar. <BR>See Also&nbsp;&nbsp; CWnd::Create, CWnd::CreateEx<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 + =
减小字号Ctrl + -
显示快捷键?