I have a question regarding the "WNDCLASSEX structure"

is the WNDCLASSEX structure a BUILT IN structure that can be used as long as i include the header <windows.h>?

or do i have to individually define all the members of this structure?

(By "built in", i mean if the structure is part of the core of c++)
Last edited on
By "built in", i mean if the structure is part of the core of c++

WNDCLASSEX is nothing to do with the core of C++ -- it's part of the Window API.

But it is predefined (by the Windows SDK) -- you just need to include windows.h in your code to get the definition WNDCLASSEX the declaration of RegisterClassEx.

You do not need to (and should not!) individually define all the members of this structure!!

Andy
Last edited on
Topic archived. No new replies allowed.