mirror of
https://github.com/pbatard/rufus.git
synced 2025-05-23 11:17:03 -04:00
[ui] fix info box when downloading Syslinux/GRUB files
* Don't duplicate the PrintInfo() from DownloadFile() * Make sure caret is disabled and displayed text will not appear selected * Also update MSG_085 and remove unneeded MSG_240
This commit is contained in:
parent
7ef65b551a
commit
93c2d7851e
5 changed files with 51 additions and 97 deletions
|
@ -24,6 +24,7 @@
|
|||
#endif
|
||||
|
||||
#include <windows.h>
|
||||
#include <windowsx.h>
|
||||
#include <stdio.h>
|
||||
#include <wchar.h>
|
||||
#include <string.h>
|
||||
|
@ -426,6 +427,7 @@ static uint64_t last_msg_time[2] = { 0, 0 };
|
|||
|
||||
static void PrintInfoMessage(char* msg) {
|
||||
SetWindowTextU(hInfo, msg);
|
||||
Edit_SetSel(hInfo, -1, 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