Sign in to follow this  
kaktusas2598

What is difference between CreateWindow() and CreateWindowEx()?

Recommended Posts

CreateWindow versus CreateWindowEx at MSDN. Learning to read documentation and conduct research is a critical component of becoming a programmer.

It is generally a safe bet that if you do not need, or understand, the purpose of the extra or different parameters provided by an "Ex" function in the Win32 API, you don't need to be calling the "Ex" function and the regular one will suffice.

Share this post


Link to post
Share on other sites
As someone pointed out to me a while back, CreateWindow nowadays is even just a macro that maps to CreateWindowEx(0, .....), so CreateWindow as a function doesn't really even exist anymore.

Share this post


Link to post
Share on other sites
Generally google isn't the first choice for questions about Win32 API's. Go directly to MSDN. jpetrie's first link has this right at the top:

Quote:
To use extended window styles in addition to the styles supported by CreateWindow, use the CreateWindowEx function.

Share this post


Link to post
Share on other sites
Quote:
Original post by Anon Mike
Generally google isn't the first choice for questions about Win32 API's. Go directly to MSDN. jpetrie's first link has this right at the top:

Quote:
To use extended window styles in addition to the styles supported by CreateWindow, use the CreateWindowEx function.


Thanks, I already added MSDN to favorites so I shouldn't forget it :)

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this