Bonsoir,
J'essaie temps bien que mal de mettre une Progress Bar dans mon programme...
J'ai un projet C++ Window Application, et voici une partie du code:
Mais voici le(s) problème(s):Code:
1
2
3
4
5
6 hInst = hInstance; HWND hWnd = CreateWindowW(szWindowClass, szTitle, (WS_OVERLAPPED | WS_CAPTION | WS_SYSMENU), CW_USEDEFAULT, 0, 450, 150, nullptr, nullptr, hInstance, nullptr); int cyVScroll = GetSystemMetrics(SM_CYVSCROLL); RECT rcClient; GetClientRect(hWnd, &rcClient); HWND hwndPB = CreateWindowEx(0, PROGRESS_CLASS, (LPSTR)NULL, WS_CHILD | WS_VISIBLE | PBS_MARQUEE, rcClient.left, rcClient.bottom - cyVScroll, rcClient.right, cyVScroll, hWnd, (HMENU)0, NULL, NULL);
Visual Studio me dit "identificateur 'PROGRESS_CLASS' non défini" et il me dit exactement la même chose pour PBS_MARQUEE...
Que doit-je faire ?? Je ne trouve absolument rien sur Google qui puisse résoudre le problème...
Merci,
EyesGammer