mirror of
https://github.com/WerWolv/ImHex.git
synced 2026-04-02 05:27:41 -05:00
feat: Added function to show toast messages, moved native error message function to libimhex
This commit is contained in:
@@ -56,11 +56,6 @@ namespace hex {
|
||||
static Microsoft::WRL::ComPtr<ITaskbarList4> s_taskbarList;
|
||||
static bool s_useLayeredWindow = true;
|
||||
|
||||
void nativeErrorMessage(const std::string &message) {
|
||||
log::fatal("{}", message);
|
||||
MessageBoxA(nullptr, message.c_str(), "Error", MB_ICONERROR | MB_OK);
|
||||
}
|
||||
|
||||
// Custom Window procedure for receiving OS events
|
||||
static LRESULT commonWindowProc(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam) {
|
||||
switch (uMsg) {
|
||||
|
||||
Reference in New Issue
Block a user