Skip to main content
gamedev.net
🔒 Locked

Win32 API

Started by clrscr Dec 27, 2001 at 2:53 PM 0 replies 400+ views
Original Post
clrscr
clrscr
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
-----------------------------When men speak of the future, the Gods laugh.An apology for the devil: it must be remembered that we have heard one side of the case. God has written all the books.Samuel Butler (1835 - 1902)
Garrland
Garrland
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

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.