Hi David I think cs.lpszClass should be the primary in order for the user to override the default class name: // Prefer the classname specified in PreCreate over the one // specified in PreRegisterClass. The class name will default to "Win32++ Window" // if neither PreRegisterClass nor PreCreate specify a class name. LPCTSTR className = cs.lpszClass ? cs.lpszClass : wc.lpszClassName; Best regards, Kevin
Thank you! Best regards, Kevin
Thank you! Best regards, Kevin
Hi David Attached is sample code with image. Kevin
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
Hello On line 425 of wxx_wincore.h version 10.2.0 wnd = CreateEx(cs.dwExStyle, wc.lpszClassName, cs.lpszName, style, I believe that should be same as version 10.1.0 wnd = CreateEx(cs.dwExStyle, cs.lpszClass, cs.lpszName, style, But repair requires more than that fix, assert loading window now - wxx_imagelist.h line 632 m->pData->images.
Hello On line 425 of wxx_wincore.h version 10.2.0 wnd = CreateEx(cs.dwExStyle, wc.lpszClassName, cs.lpszName, style, I believe that should be same as version 10.1.0 wnd = CreateEx(cs.dwExStyle, cs.lpszClass, cs.lpszName, style, Best regards, Kevin Milch
Hi David My apologies for the late reply! Multiple column menu created by adding MF_MENUBARBREAK (1.jpg). Mouse over the second column, and the highlight does not get erased (2.jpg). With proposed fix, highlight gets erased (3.jpg). Thanks for the awesome project!! Best regards, Kevin