aboutsummaryrefslogtreecommitdiff
path: root/c/win.h
diff options
context:
space:
mode:
authorJohn Ankarström <john@ankarstrom.se>2022-08-22 01:05:05 +0200
committerJohn Ankarström <john@ankarstrom.se>2022-08-22 01:05:05 +0200
commitba0750ff48bcf97ef99602fe27322fa706a93b6b (patch)
tree0a6e0110e1940610266d280e2c857195819ffa1a /c/win.h
parent28b87e4d9c60b49d46b03a19b7b83e23e222087a (diff)
downloadEpisodeBrowser-ba0750ff48bcf97ef99602fe27322fa706a93b6b.tar.gz
Add Buf class.
Diffstat (limited to 'c/win.h')
-rw-r--r--c/win.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/c/win.h b/c/win.h
index 3bb0d6e..ab5cf05 100644
--- a/c/win.h
+++ b/c/win.h
@@ -5,12 +5,12 @@
#include <string_view>
#include <windows.h>
-/* Show message box for current exception. */
-void ShowException(const wchar_t* fmt, const wchar_t* title, UINT uType = MB_ICONWARNING) noexcept;
/* Run given procedure at creation of next window. */
void WithNextWindow(void (*proc)(HWND));
/* Display message box centered in main window. */
int EBMessageBox(std::wstring_view text, std::wstring_view data, UINT uType);
+/* Show message box for current exception. */
+void ShowException(const wchar_t* fmt, const wchar_t* title, UINT uType = MB_ICONWARNING) noexcept;
/* Retrieve mouse position relative to given window's client area. */
int GetRelativeCursorPos(HWND hWnd, POINT* pt) noexcept;
/* Cached values from GetSystemMetrics. */