mirror of
https://github.com/pbatard/rufus.git
synced 2025-05-25 20:24:26 -04:00
[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:
parent
0a3c04379b
commit
bb00e220ac
4 changed files with 15 additions and 10 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue