Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

clrscr

Win32 API

This topic is 6136 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

What does the function: WINUSERAPI ATOM WINAPI RegisterClassEx (CONST WNDCLASSEXA *); do? Why do you have to Register your class, and with whom are you registering your class with? "A computer lets you make more mistakes faster than any invention in human history - with the possible exceptions of handguns and tequila." -Mitch Ratliffe

Share this post


Link to post
Share on other sites
Advertisement
You are registering your class with Windows so when you call CreateWindowEx it knows what the heck you are talking about. CreateWindowEx takes "LPCTSTR lpClassName" as the second parameter. lpClassName is the same value you set the WNDCLASSEX structure you used to describe your window class

Hope this helps

Edited by - Garrland on December 27, 2001 4:13:21 PM

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!