What's the difference between WNDCLASS and WNDCLASSEX?
Which one is better?
Any help will be appreciated.
What's the difference between WNDCLASS and WNDCLASSEX?
Which one is better?
Any help will be appreciated.
Last edited by Antigloss; 03-16-2006 at 05:32 AM.
Do you want to define your window's small icon (the one shown on the taskbar and in its corner if it has a caption)?
If yes, then WNDCLASSEX is better.
WNDCLASS goes with CreateWindow, WNDCLASSEX goes with CreateWindowEx.
Bear in mind that the only difference between CreateWindow and CreateWindowEx is the addition of extended styles to the latter. You can use either type of window class structure with them.Originally Posted by mrafcho001
CreateWindow these days resolves to CreateWindowEx(0, ...)