]> git.eshelyaron.com Git - emacs.git/commit
Support GUI dialogs and message boxes better on MS-Windows
authorCecilio Pardo <cpardo@imayhem.com>
Wed, 11 Sep 2024 13:44:28 +0000 (15:44 +0200)
committerEshel Yaron <me@eshelyaron.com>
Sat, 14 Sep 2024 20:34:48 +0000 (22:34 +0200)
commit2d67b840e3c9e0b5bb2f8560c271f88d7046d9be
treea8d57fd0dc2dd57cb23aa486e77cc9531e0e4c9a
parentef1c84f5b5dc8aaa1ab55435654330e2912d6898
Support GUI dialogs and message boxes better on MS-Windows

* src/w32menu.c (TASKDIALOG_COMMON_BUTTON_FLAGS, TASKDIALOG_FLAGS)
(PFTASKDIALOGCALLBACK, TASKDIALOG_BUTTON, TASKDIALOGCONFIG)
(TDN_CREATED, TDM_ENABLE_BUTTON, TDF_ALLOW_DIALOG_CANCELLATION)
(TD_INFORMATION_ICON) [!MINGW_W64]: Define.
(TaskDialogIndirect_Proc): Declare function type.
(TASK_DIALOG_MAX_BUTTONS): New macro.
(task_dialog_callback): New callback function.
(w32_popup_dialog): Add dialog implementation using TaskDialog.
(globals_of_w32menu): Load TaskDialogIndirect from comctl32.dll.
(Bug#20481)

(cherry picked from commit aa7dee58d81817285208471074f1af598ebf0c98)
src/menu.c
src/w32menu.c