VC中控件的Create函数中的参数DWORD dwStyle一共有哪些啊? 如WS_CHILD|WS_VISIBLE|BS_PUSHBUTTON等!~~加分,急等啊~~~

london1111 2007-11-20 10:58:43
VC中控件的Create函数中的参数DWORD dwStyle一共有哪些啊? 如WS_CHILD|WS_VISIBLE|BS_PUSHBUTTON等!~~加分,急等啊~~~

摆脱拉
...全文
1712 11 打赏 收藏 转发到动态 举报
写回复
用AI写文章
11 条回复
切换为时间正序
请发表友善的回复…
发表回复
london1111 2007-11-20
  • 打赏
  • 举报
回复
怎么联系啊 我的MSN:guoliguoli111@hotmail.com 加我一下哦
london1111 2007-11-20
  • 打赏
  • 举报
回复
好 非常感激 给个连接吧 ?
shakaqrj 2007-11-20
  • 打赏
  • 举报
回复
http://www.gougou.com/search?search=msdn%202001%20oct&suffix=&restype=-1&id=2http://www.gougou.com/search?search=msdn%202001%20oct&suffix=&restype=-1&id=2
shakaqrj 2007-11-20
  • 打赏
  • 举报
回复
不可能啦
很大,附件根本传不了
你下吧
如果是vc6.0的话
就下2001年10月份的,1.45G的那个
london1111 2007-11-20
  • 打赏
  • 举报
回复
shakaqrj 能不能给我个MSDN啊? 最好是HLP或CHM的那种 谢谢拉 MAIL:guoli@touchdown.com.cn
london1111 2007-11-20
  • 打赏
  • 举报
回复
楼上的非常感谢 给你加分, 其实都想加分但只有一个 感谢ING....
shakaqrj 2007-11-20
  • 打赏
  • 举报
回复
Edit Styles
ES_AUTOHSCROLL Automatically scrolls text to the right by 10 characters when the user types a character at the end of the line. When the user presses the ENTER key, the control scrolls all text back to position 0.


ES_AUTOVSCROLL Automatically scrolls text up one page when the user presses ENTER on the last line.


ES_CENTER Centers text in a single-line or multiline edit control.


ES_LEFT Left-aligns text in a single-line or multiline edit control.


ES_LOWERCASE Converts all characters to lowercase as they are typed into the edit control.


ES_MULTILINE Designates a multiple-line edit control. (The default is single line.) If the ES_AUTOVSCROLL style is specified, the edit control shows as many lines as possible and scrolls vertically when the user presses the ENTER key. If ES_AUTOVSCROLL is not given, the edit control shows as many lines as possible and beeps if ENTER is pressed when no more lines can be displayed. If the ES_AUTOHSCROLL style is specified, the multiple-line edit control automatically scrolls horizontally when the caret goes past the right edge of the control. To start a new line, the user must press ENTER. If ES_AUTOHSCROLL is not given, the control automatically wraps words to the beginning of the next line when necessary; a new line is also started if ENTER is pressed. The position of the wordwrap is determined by the window size. If the window size changes, the wordwrap position changes and the text is redisplayed. Multiple-line edit controls can have scroll bars. An edit control with scroll bars processes its own scroll-bar messages. Edit controls without scroll bars scroll as described above and process any scroll messages sent by the parent window.


ES_NOHIDESEL Normally, an edit control hides the selection when the control loses the input focus and inverts the selection when the control receives the input focus. Specifying ES_NOHIDESEL deletes this default action.


ES_OEMCONVERT Text entered in the edit control is converted from the ANSI character set to the OEM character set and then back to ANSI. This ensures proper character conversion when the application calls the AnsiToOem Windows function to convert an ANSI string in the edit control to OEM characters. This style is most useful for edit controls that contain filenames.


ES_PASSWORD Displays all characters as an asterisk (*) as they are typed into the edit control. An application can use the SetPasswordChar member function to change the character that is displayed.


ES_RIGHT Right-aligns text in a single-line or multiline edit control.


ES_UPPERCASE Converts all characters to uppercase as they are typed into the edit control.


ES_READONLY Prevents the user from entering or editing text in the edit control.


ES_WANTRETURN Specifies that a carriage return be inserted when the user presses the ENTER key while entering text into a multiple-line edit control in a dialog box. Without this style, pressing the ENTER key has the same effect as pressing the dialog box’s default pushbutton. This style has no effect on a single-line edit control.

msdn上搜一下就有了啊
london1111 2007-11-20
  • 打赏
  • 举报
回复
那CEdit的创建函数:create()中的参数DWORD dwStyle又有哪些啊?好象是ES_开头的,主要是编辑框的显示风格?
pptor 2007-11-20
  • 打赏
  • 举报
回复
哈哈msdn搜索下不就有了吗
shakaqrj 2007-11-20
  • 打赏
  • 举报
回复
Window Styles
WS_BORDER Creates a window that has a border.


WS_CAPTION Creates a window that has a title bar (implies the WS_BORDER style). Cannot be used with the WS_DLGFRAME style.


WS_CHILD Creates a child window. Cannot be used with the WS_POPUP style.


WS_CLIPCHILDREN Excludes the area occupied by child windows when you draw within the parent window. Used when you create the parent window.


WS_CLIPSIBLINGS 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.


WS_DISABLED Creates a window that is initially disabled.


WS_DLGFRAME Creates a window with a double border but no title.


WS_GROUP 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).


WS_HSCROLL Creates a window that has a horizontal scroll bar.


WS_MAXIMIZE Creates a window of maximum size.


WS_MAXIMIZEBOX Creates a window that has a Maximize button.


WS_MINIMIZE Creates a window that is initially minimized. For use with the WS_OVERLAPPED style only.


WS_MINIMIZEBOX Creates a window that has a Minimize button.


WS_OVERLAPPED Creates an overlapped window. An overlapped window usually has a caption and a border.


WS_OVERLAPPEDWINDOW Creates an overlapped window with the WS_OVERLAPPED, WS_CAPTION, WS_SYSMENU, WS_THICKFRAME, WS_MINIMIZEBOX, and WS_MAXIMIZEBOX styles.


WS_POPUP Creates a pop-up window. Cannot be used with the WS_CHILD style.


WS_POPUPWINDOW 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.


WS_SYSMENU Creates a window that has a Control-menu box in its title bar. Used only for windows with title bars.


WS_TABSTOP 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.


WS_THICKFRAME Creates a window with a thick frame that can be used to size the window.


WS_VISIBLE Creates a window that is initially visible.


WS_VSCROLL Creates a window that has a vertical scroll bar.
zxq80 2007-11-20
  • 打赏
  • 举报
回复
Basic window styles Description
WS_CHILD Specifies a child window. This should not be changed after the window is created.
WS_CLIPCHILDREN Excludes the area occupied by child windows when drawing occurs within the parent window. This style is used on the parent window. Windows CE–windows always have the WS_CLIPCHILDREN style.
WS_CLIPSIBLINGS Excludes the area that is occupied by sibling windows above a window.
WS_DISABLED Specifies a window that is initially disabled. A disabled window cannot receive input from the user.
WS_EX_NOACTIVATE Specifies that a window cannot be activated. If a child window has this style, tapping it does not cause its top-level parent to activate. Although a window that has this style will still receive stylus events, neither it nor its child windows can get the focus. This style is supported only by the Windows CE operating system (OS).
WS_EX_NOANIMATION Prevents a window from showing animated exploding and imploding rectangles and from having a button on the taskbar. This style is supported only by
Windows CE.
WS_EX_NODRAG Specifies a stationary window that cannot be dragged by its title bar. This style is supported only by Windows CE.
WS_EX_TOPMOST Creates a window that will be placed and remain above all non-topmost windows. To add or remove this style, use the SetWindowPos function.
WS_GROUP Specifies the first control of a group of controls. This style is used primarily when creating dialog boxes. The group consists of this first control and all controls that are defined after it, up to the next control for which the WS_GROUP style is specified. Because the first control in each group often has the WS_TABSTOP style, a user can move from group to group.
WS_POPUP Specifies a pop-up window. This style should not be changed after the window is created.
WS_TABSTOP Specifies a control that can receive the keyboard focus when the user presses the TAB key. This style is used primarily when creating controls in a dialog box. Pressing the TAB key changes the keyboard focus to the next control with the WS_TABSTOP style.
WS_VISIBLE Specifies a window that is initially visible. This style can be turned on and off to change window visibility.



Non-client area styles Description
WS_BORDER Specifies a window with a thin-line border.
WS_CAPTION Specifies a window with a title bar and border.
WS_DLGFRAME Specifies a window with a dialog box border style. A window with this style cannot have a title bar.
WS_EX_CAPTIONOKBTN Includes an OK button in the title bar.
WS_EX_CLIENTEDGE Specifies a window with a border that has a sunken edge.
WS_EX_CONTEXTHELP Includes a Help button (?) in the title bar of the window.
WS_EX_DLGMODALFRAME Specifies a window with a double border.
WS_EX_OVERLAPPEDWINDOW Combines the WS_EX_CLIENTEDGE and WS_EX_WINDOWEDGE styles.
WS_EX_STATICEDGE Specifies a window with a three-dimensional border style. This style should be used for items that do not accept user input.
WS_EX_WINDOWEDGE Specifies a window border with a raised edge.
WS_HSCROLL Specifies a window with a horizontal scroll bar.
WS_OVERLAPPED Specifies a window with the WS_BORDER and WS_CAPTION styles.
WS_SYSMENU Specifies a window with a window menu on its title bar. Use in conjunction with the WS_CAPTION style. Windows CE does not have a system menu, but you can use the WS_SYSMENU style to add the standard Close (X) button to a window title bar.
WS_VSCROLL Specifies a window with a vertical scroll bar.

64,682

社区成员

发帖
与我相关
我的任务
社区描述
C++ 语言相关问题讨论,技术干货分享,前沿动态等
c++ 技术论坛(原bbs)
社区管理员
  • C++ 语言社区
  • encoderlee
  • paschen
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
  1. 请不要发布与C++技术无关的贴子
  2. 请不要发布与技术无关的招聘、广告的帖子
  3. 请尽可能的描述清楚你的问题,如果涉及到代码请尽可能的格式化一下

试试用AI创作助手写篇文章吧