AskUser and PromptUser: themed and unthemed dialogs
Original Reporter info from Mantis: kluug.net @onpok
-
Reporter name: Ondrej Pokorny
Original Reporter info from Mantis: kluug.net @onpok
- Reporter name: Ondrej Pokorny
Description:
There are some issues in the current AskUser and PromptUser implementation:
1.) The new-style dialog (TaskDialogIndirect) is not shown if themes are disabled in the OS.
2.) There is no check if TaskDialogIndirect was properly executed. This can cause the dialog not to show up at all.
Additional information:
Please see my patch that checks the needed conditions and tries to call TaskDialogIndirect if available. If TaskDialogIndirect fails or is not available, the LCL-own dialog is shown.
Mantis conversion info:
- Mantis ID: 27664
- OS: Windows Vista +
- Platform: Win32
- Version: 1.5 (SVN)
- Fixed in revision: r48377 (#a875ea76)
- Target version: 1.4