/* load default keyboard handler */
HKL keyboard_layout = GetKeyboardLayout(0);
- DWORD primary_language = (DWORD) keyboard_layout & 0x3f;
+ DWORD primary_language = (UINT_PTR) keyboard_layout & 0x3f;
if (primary_language == LANG_ENGLISH) {
if (!load_keyboard_handler("nhdefkey"))
break;
case NM_KILLFOCUS:
{
- char buf[64];
- sprintf(buf, "KILLFOCUS %lx\n", (unsigned long) control);
- OutputDebugStringA(buf);
-
if (data->focus == data->control_race) {
data->focus = NULL;
ListView_RedrawItems(data->control_race, 0, data->race_count - 1);
break;
case NM_SETFOCUS:
{
- char buf[64];
- sprintf(buf, "SETFOCUS %lx\n", (unsigned long) control);
- OutputDebugStringA(buf);
data->focus = control;
if (control == data->control_race) {
if (lpdis->itemID < 0)
return FALSE;
- HWND control = GetDlgItem(hWnd, wParam);
+ HWND control = GetDlgItem(hWnd, (int) wParam);
int i = lpdis->itemID;
- {
- char buf[64];
- sprintf(buf, "DRAW %lx %d\n", (unsigned long)control, i);
- OutputDebugStringA(buf);
- }
-
const char * string;
boolean ok = TRUE;
client_rt.left + ListView_GetColumnWidth(lpdis->hwndItem, 0),
lpdis->rcItem.bottom);
DrawFocusRect(lpdis->hDC, &rect);
-
- {
- char buf[64];
- sprintf(buf, "FOCUS %lx %d\n", (unsigned long)control, i);
- OutputDebugStringA(buf);
- }
}
}