1561 |
cb = (keyedit_callback_s *)lparam; |
cb = (keyedit_callback_s *)lparam; |
1562 |
if (cb == NULL) |
if (cb == NULL) |
1563 |
BUG (dlg); |
BUG (dlg); |
1564 |
listview_get_item_text (cb->lv, listview_get_curr_pos (cb->lv), 2, buf, DIM (buf)-1); |
pos = listview_get_curr_pos (cb->lv); |
1565 |
|
listview_get_item_text (cb->lv, pos, 2, buf, DIM (buf)-1); |
1566 |
SetDlgItemText (dlg, IDC_SHOWPREF_INFO, buf); |
SetDlgItemText (dlg, IDC_SHOWPREF_INFO, buf); |
1567 |
pos = do_find_userid (((winpt_key_t)cb->opaque)->keyid, buf, &inf); |
pos = do_find_userid (((winpt_key_t)cb->opaque)->keyid, buf, &inf); |
1568 |
if (inf) { |
if (inf) { |
1582 |
CheckDlgButton (dlg, IDC_SHOWPREF_MDC, BST_CHECKED); |
CheckDlgButton (dlg, IDC_SHOWPREF_MDC, BST_CHECKED); |
1583 |
} |
} |
1584 |
SetWindowText (dlg, _("Key Preferences")); |
SetWindowText (dlg, _("Key Preferences")); |
1585 |
|
SetDlgItemText (dlg, IDC_SHOWPREF_MDC, _("MDC feature")); |
1586 |
|
SetDlgItemText (dlg, IDC_SHOWPREF_PREFINF, _("Preferences")); |
1587 |
SetForegroundWindow (dlg); |
SetForegroundWindow (dlg); |
1588 |
break; |
break; |
1589 |
|
|