.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
Gaurav Pal

Home >> Articles >> General >> Post New Resource Bookmark and Share   

 Subscribe to Articles

Window Styles for CreateWindow( ) in VC++

Posted By:Abhisek Panda       Posted Date: November 30, 2009    Points: 25    Category: General    URL: http://www.dotnetspark.com  

The window styles to create the window by CreateWindow() function aree represented by using a set of constants that begin with WS_. Some of the common constants are given below,

WS_BORDER:-Creates a window with a single line border.

WS_DLGBORDER:-Creates a window with a dialog type border

WS_CAPTION:-Creates a window with titlebar.

WS_MAXIMIZEBOX:-Adds a maximize box to the window.

WS_MINIMIZEBOX:-Adds a minimize box to the window.

WS_MAXIMIZE:-Defines the window in maximize form.

WS_MINIMIZE:-Defines a window in inimize form.

WS_OVERLAPPEDWINDOW:-Creates a window with all the common attributes.

WS_HSCROLL:-Adds a horizontal scrollbar to the window.

WS_VSCROLL:-Adds a vertical scrollbar to the window.

WS_DISABLED:-Defines a window being disabled.

There are many more constants. The aboves are the most commonly used constants.

 Subscribe to Articles


Further Readings:


No response found. Be the first to respond this post

Post Comment

You must Sign In To post reply
Find More Articles on C#, ASP.Net, Vb.Net, SQL Server and more Here

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend