Should I translate my window class names?

7 · Raymond Chen · March 31, 2022, 3:01 p.m.
The default Windows Desktop project template used by Visual Studio loads the window class name from resources: WCHAR szWindowClass[MAX_LOADSTRING]; LoadStringW(hInstance, IDC_PROJECTNAME, szWindowClass, MAX_LOADSTRING); ATOM MyRegisterClass(HINSTANCE hInstance) { WNDCLASSEXW wcex; wcex.cbSize = sizeof(WNDCLASSEX); wcex.style = CS_HREDRAW | CS_VREDRAW; wcex.lpfnWndProc = WndProc; wcex.cbClsExtra = 0; The post Should I translate my window class names? appeared ...