rambovn
November 26th, 2007, 06:15 AM
Hallo,
Now I want to create a ListBox by using this command
hwndListBox = CreateWindow(ListBox, NULL, WS_CHILD | LBS_DISABLENOSCROLL | LBS_NOTIFY | WS_BORDER, x, 8, 70, 18, m_hwnd, NULL, g_hInst, NULL);
But then I received this error:
error C2065: 'ListBox' : undeclared identifier
I already changed ListBox to _T("ListBox") but it also didn't work, no error but no ListBox was created
Does anyone know which word is correct for my case? I am searching for many hours but I could not find it.
I do not use MFC and my Character Set is Unicode.
Thank you very much for any help
Now I want to create a ListBox by using this command
hwndListBox = CreateWindow(ListBox, NULL, WS_CHILD | LBS_DISABLENOSCROLL | LBS_NOTIFY | WS_BORDER, x, 8, 70, 18, m_hwnd, NULL, g_hInst, NULL);
But then I received this error:
error C2065: 'ListBox' : undeclared identifier
I already changed ListBox to _T("ListBox") but it also didn't work, no error but no ListBox was created
Does anyone know which word is correct for my case? I am searching for many hours but I could not find it.
I do not use MFC and my Character Set is Unicode.
Thank you very much for any help