[ui] more info field fixes

* Prevent text selection and try to force a redraw, to ensure the text is centered on update
* Also update the libcdio 'AL' workaround
This commit is contained in:
Pete Batard 2017-07-26 11:47:02 +01:00
parent 0a3c04379b
commit bb00e220ac
4 changed files with 15 additions and 10 deletions

View file

@ -1622,6 +1622,10 @@ static INT_PTR CALLBACK InfoCallback(HWND hCtrl, UINT message, WPARAM wParam, LP
switch (message) {
// Prevent text selection (wich Windows seems keen on doing on its own)
case EM_SETSEL:
return (INT_PTR)TRUE;
// Prevent select (which screws up our display as it redraws the font using different settings)
case WM_LBUTTONDOWN:
return (INT_PTR)FALSE;