rudimentary serch function added for the memory dialog

fixed the memory addressing bug in search

the search box almost works

search now works, however the strings in search window neeed a fix

fixed the address display in search results

search works

fixed review comments, except .rc

preadjust the button placement

fixed rc
This commit is contained in:
Nikita Filippov
2020-06-06 14:23:26 +02:00
committed by Henrik Rydgård
parent c739d4e164
commit 021e783b4a
7 changed files with 197 additions and 107 deletions
+4 -4
View File
@@ -108,10 +108,10 @@ bool InputBox_GetWString(HINSTANCE hInst, HWND hParent, const wchar_t *title, co
return false;
}
bool InputBox_GetHex(HINSTANCE hInst, HWND hParent, const wchar_t *title, u32 defaultvalue, u32 &outvalue)
bool InputBox_GetHex(HINSTANCE hInst, HWND hParent, const wchar_t* title, u32 defaultvalue, u32& outvalue)
{
wchar_t temp[256];
wsprintf(temp,L"%08x",defaultvalue);
wsprintf(temp, L"%08x", defaultvalue);
textBoxContents = temp;
INT_PTR value = DialogBox(hInst, (LPCWSTR)IDD_INPUTBOX, hParent, InputBoxFunc);
@@ -124,9 +124,9 @@ bool InputBox_GetHex(HINSTANCE hInst, HWND hParent, const wchar_t *title, u32 de
return true;
return false;
}
else
else
{
outvalue = 0;
return false;
}
}
}