I have this code:
Expand|Select|Wrap|Line Numbers
- case WM_COMMAND:
- {
- switch(LOWORD(wParam))
- {
- case hwndCombo:
- {
- switch(HIWORD(wParam))
- {
- case CBN_DROPDOWN:
- {
- MessageBox(hwnd, "OK", "OK", MB_OK);
- } break;
- } break;
- } break;
- } break;
- } break;
Expand|Select|Wrap|Line Numbers
- wndCombo = GetDlgItem(hwnd, 30000);
Anyways, when I try to compile this code I get this error:
Expand|Select|Wrap|Line Numbers
- `hwndCombo' cannot appear in a constant-expression