[ui] add a status bar button to initiate checksum computation

* Just click the "hash" sign to get a hash
* Also clean up status bar related functions
This commit is contained in:
Pete Batard 2015-06-30 23:22:10 +01:00
parent e0422f4596
commit 14b8ab6a43
6 changed files with 82 additions and 53 deletions

View file

@ -420,7 +420,7 @@ static void __inline OutputMessage(BOOL info, char* msg)
if (info)
SetWindowTextU(hInfo, msg);
else
SendMessageLU(GetDlgItem(hMainDialog, IDC_STATUS), SB_SETTEXTW, SBT_OWNERDRAW, msg);
SendMessageLU(hStatus, SB_SETTEXTW, SBT_OWNERDRAW | SB_SECTION_LEFT, msg);
}
static void CALLBACK PrintMessageTimeout(HWND hWnd, UINT uMsg, UINT_PTR idEvent, DWORD dwTime)