From 90c561d8e2d0693890f58167a30eca84509262ba Mon Sep 17 00:00:00 2001 From: Jonas Kümmerlin Date: Sat, 30 May 2020 17:52:50 +0200 Subject: fixup and test modal dialog --- alf/alf.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'alf/alf.h') diff --git a/alf/alf.h b/alf/alf.h index cb2e48e..6f42f35 100644 --- a/alf/alf.h +++ b/alf/alf.h @@ -10,7 +10,7 @@ extern "C" { typedef struct { BOOL (*initialize)(void * /*closure*/, HWND /*window*/); // return FALSE if you set the focus, TRUE if you want default initial focus void (*destroy)(void * /*closure*/, HWND /*window*/); - BOOL (*close)(void * /*closure*/, HWND /*window*/); + void (*close)(void * /*closure*/, HWND /*window*/); void (*postdestroy)(void * /*closure*/); LRESULT (*message)(void * /*closure*/, HWND, UINT, WPARAM, LPARAM); LRESULT (*command)(void * /*closure*/, HWND /*window*/, WORD /*notificationcode*/, WORD /*sourceid*/, HWND /*control*/); @@ -304,7 +304,7 @@ ALF_DestroyWidget(HWND win, WORD id); // toplevel window HWND -ALF_CreateToplevelWindow(HWND hwndParent, ALFToplevelVTable *vtbl, void *closure); +ALF_CreateToplevelWindow(DWORD exstyle, DWORD style, HWND hwndOwner, ALFToplevelVTable *vtbl, void *closure); void ALF_Toplevel_Resize(HWND win, int cptWidth, int cptHeight); -- cgit v1.2.3