mirror of
https://github.com/pbatard/rufus.git
synced 2025-05-23 11:17:03 -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
|
@ -427,7 +427,8 @@ static uint64_t last_msg_time[2] = { 0, 0 };
|
|||
|
||||
static void PrintInfoMessage(char* msg) {
|
||||
SetWindowTextU(hInfo, msg);
|
||||
Edit_SetSel(hInfo, -1, 0);
|
||||
// Make sure our field gets redrawn
|
||||
SendMessage(hInfo, WM_PAINT, 0, 0);
|
||||
}
|
||||
static void PrintStatusMessage(char* msg) {
|
||||
SendMessageLU(hStatus, SB_SETTEXTW, SBT_OWNERDRAW | SB_SECTION_LEFT, msg);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue