How to make window not resizable?

Using C to create a window, how to make the window not resizable? I'm registring a class and then use CreateWindow to create the window.
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

hey - i don't know the answer, but if you can't find one:

try when you get a resize message to set the size back to what it was. . .

although to the user it will look a little ugly.  the window will resize then snap back.
Simple use WS_POPUP style

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Alex, WS_POPUP has nothing to do with it.  (Well, it is true if that is the ONLY style you use, then it won't be resizable, but  doubt that will be the only style.)

You need to specify a window style that does not include the WS_THICKFRAME style.  The WS_THICKFRAME lets the window be resized by the mouse.  You also probably don't want the WS_MAXIMIZEBOX and WS_MINIMIZEBOX styles which allow the window to be minimized and maximized.
Get your problem seen by more experts

Be seen. Boost your question’s priority for more expert views and faster solutions

sa9813, did alex's answer work for you?  That is the answer you accepted.
sa9813Author Commented:
No, not exactly but it sure got me on the right track! Thank you for giving me the extra information...Was it wrong of me to give Alex the points? I just had to add WS_POPUPWINDOW instead of WS_POPUP...just tell me if you would like any points I have got alot of questions, I sure am a newbie!
If it helped you that's good.  To me it seemed like the wrong answer--which would not be typical from Alex.  I guess it depends on how you interpret it.

I just don't like to see the wrong answer being accepted, the point system is a large point of what makes the site work.  But it sounds like it really wasn't the wrong answer, at least not as far as you are concerned (which is all that matters).
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Development

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.