Thanks for the suggestion. I've updated CWnd::Create to set the window class name as follows:
// Prefer the classname specified in PreRegisterClass over the one// specified in PreCreate. The class name will default to "Win32++ Window"// if neither PreRegisterClass nor PreCreate specify a class name.LPCTSTRclassName=wc.lpszClassName?wc.lpszClassName:cs.lpszClass;
Best regards,
David
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello
It looks like CWnd::Create starting at line ~418 needs to match what was in the 1010 version.
-- Add this line around ~417
cs.lpszClass = wc.lpszClassName;
...
Line 425 - use cs.lpszClass, not wc.lpszClassName since PreCreate could override.
wnd = CreateEx(cs.dwExStyle, cs.lpszClass, cs.lpszName, style,
Regards,
Kevin
Last edit: Kevin Milch 2026-03-26
Hi Kevin,
Thanks for the suggestion. I've updated CWnd::Create to set the window class name as follows:
Best regards,
David
Thank you!
Best regards,
Kevin