Hi,

I've been looking at the report in the users group about garbled text in 
the edit property value dialog [1].

I can reproduce it (under Windows 11 running in Hyper-V) if I use dark mode.

A (stupid!) solution would be to invalidate the whole edit control in 
CEditPropertyValueDlg::OnEnChangePropvalue(). Surely there must be a better 
solution..?

[[[
    CRect rect;
    CWnd* pWnd = GetDlgItem(IDC_PROPVALUE);
    pWnd->GetWindowRect(&rect);
    ScreenToClient(&rect);
    InvalidateRect(&rect, TRUE);
]]]

(It works but causes a bit of flickering).

Kind regards,
Daniel


[1] https://groups.google.com/g/tortoisesvn/c/_eYSC2o6CqE

-- 
You received this message because you are subscribed to the Google Groups 
"TortoiseSVN-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion visit 
https://groups.google.com/d/msgid/tortoisesvn-dev/bd02129f-be66-4985-ba13-eb29a9d422e8n%40googlegroups.com.

Reply via email to