61 questions
0
votes
0
answers
91
views
Why does MessageBox() appear in the background if the application's own windows are minimized on Windows 11? TaskDialog doesn't do this
If you try launching this program on Windows 11 from another program (like from Visual Studio), the message box will lack focus, and appear behind some other windows you have open:
#include <...
0
votes
0
answers
247
views
Dark Mode Task Dialog
I am aware that there is a GitHub repository for using a Dark Mode Task Dialog. THis is the sample from that webpage:
It uses Microsoft Detours, which is no longer available as a NuGet Package and ...
3
votes
0
answers
96
views
How can we add a Help button to CTaskDialog?
The standard AfxMessageBox allows us to include a Help button by using MB_HELP.
I can't work out how to do the same with CTaskDialog? Since, there is no official button ID for Help in the SDK:
enum ...
0
votes
1
answer
113
views
Lower Part of Expanded TaskDialog Form Goes Offscreen
The problem occurs when the hWndParent is positioned near the taskbar at the base of the screen. Clicking pszExpandedInformation extends the TaskDialog form below offscreen instead of moving the newly ...
1
vote
0
answers
172
views
How to get access to m_hwnd from CTaskDialog
I derive a class from CTaskDialog to implement an AutoCloseButton.
HRESULT CMyTaskDialog::OnTimer(_In_ long lTime)
{
if (GetTickCount() - m_dwStart > (DWORD)m_nTimeout)
{
...
2
votes
1
answer
133
views
Exception when using TaskDialogIndirect in MFC
I am trying the following code because I want to use the Verification Check box feature:
const HICON hQuestionIcon = AfxGetApp()->LoadStandardIcon(IDI_QUESTION);
CString strTitle = CString();
...
2
votes
1
answer
178
views
Force English language task dialogs to be LTR on RTL systems
We have non-localized debug TaskDialogs in English. These show up RTL on a hebrew system:
How can I force them to be shown LTR? AFAICT this would be the inverse of TDF_RTL_LAYOUT.
1
vote
1
answer
411
views
Determine why a taskdialog was closed in Delphi
A part of my Delphi application accesses information from another program. Because it can take some time to execute, and sometimes the other program may be unresponsive, I run that part of my code in ...
1
vote
1
answer
2k
views
c# Revit API task dialog with multiple lines counting elements
I have a simple Revit plugin to count multiple elements by category and display the totals in a task dialog. The code works fine with one category. When I add more that 1 line to count multiple ...
0
votes
0
answers
668
views
Specifying the width of a TaskDialog
I'm using a task dialog via the TaskDialogIndirect function.
Everything works as expected except that the width of the dialog is exactly twice of what I specified in the cxWidth field of the ...
0
votes
0
answers
104
views
Using HTML / Hyperlinks with CTaskDialog SetContent / SetFooterText
With SetFooterText you can provide a hyperlink using HTML syntax and it is displayed visually as a link. However, I find that only a website link works here. If I use a mailto link it won't work. Is ...
2
votes
1
answer
312
views
Hyperlinks in CTaskDialog footer
I have read this article:
Article
It clearly shows hyperlinks are supported in the footer. I can’t work out how to do it. I don’t want a literal URL in the text but other text that hyperlinks to a ...
0
votes
0
answers
42
views
Unable to find an entry point named 'TaskDialogIndirect DLL ComCtl32 [duplicate]
I am using TaskDialog in one of my projects. It was working quite perfectly after putting in quite a lot of hard work. But just a moment ago, when I ran my app, suddenly this exception has started to ...
1
vote
0
answers
335
views
How to avoid automatic text truncation in Win32 TaskDialog
We are using the TaskDialogIndirect function to report all type of messages in our application. The problem I see with TaskDialog is that it automatically truncates unbreakable text with ellipsis on ...
2
votes
1
answer
2k
views
TaskDialog not working on (or replacement for) Windows 10?
We have an older WPF application that makes use of the "Windows API Code Pack" in order to show a Task Dialog (something that was introduced back in Vista but worked all the way through Windows 8).
I'...
0
votes
0
answers
210
views
Is the way to disable path shortening in windows TaskDialogs (c#)?
I've used WindowsApiCodePack C# wrapper of windows TaskDialogs.
When I tried to show long text with paths, I got all my paths shortened by ellipsis instead of true word-wrap. This makes filenames in ...
2
votes
3
answers
3k
views
calling TaskDialogIndirect loader says ordinal 345 not found
I built the simple MS example for TaskDialogIndirect (see https://msdn.microsoft.com/en-us/library/windows/desktop/bb760544(v=vs.85).aspx)
When I run it I get "The ordinal 345 could not be located in ...
3
votes
3
answers
1k
views
Using Hidden Security Icons in Taskdialog
I am trying to display a Security Success Icon (with the blue background) in TaskDialog message box. This is not one of the enum values of TaskDialogStandardIcon. Reference: http://dotnet.dzone.com/...
3
votes
1
answer
1k
views
TaskDialog window height is incorrect when an icon is specified
EDIT :
I have fixed the sources of the Code Pack and uploaded an updated NuGet package :
https://www.nuget.org/packages/WindowsAPICodePack-Shell/
Thanks to dmex for the bug fix :
http://archive....
1
vote
1
answer
611
views
VC++ application - use TaskDialog with fallback for Windows XP
I want to use the task dialog in my VC++ application. I am able to create a task dialog successfully using either TaskDialog or TaskDialogIndirect, and it works fine in Vista. However, I want my ...
1
vote
2
answers
1k
views
TaskDialog change button language
I use the Vista TaskDialog Wrapper and Emulator for WindowsForms.
It works fine, but how can I change the language of the buttons?
1
vote
0
answers
240
views
Integrating Windows-API-Code-Pack in Outlook Add-In - Manifest unselectable
I need to use the TaskDialog provided by the Windows API Code Pack in my Outlook Add-In.
I recived this error:
TaskDialog feature needs to load version 6 of comctl32.dll
but a different version is ...
1
vote
1
answer
455
views
TaskDialogStandardIcon not working on task dialog
I am creating a task dialog in vb.net and the icon is not coming up.(everything else works) i am using the Microsoft.WindowsAPICodePack.Dialogs. my code is below:
Dim commandLink_Send = New ...
3
votes
0
answers
511
views
Is there a way to prevent TaskDialog from wrapping pszContent?
Often times when our app uses TaskDialog to display a simple dialog box, Windows will wrap the last word of pszContent to a second line. In those scenarios, we'd much prefer the dialog box be widened ...
1
vote
2
answers
3k
views
How to create a windows application in C++ showing just a TaskDialog
I need to create a windows application in C++ and it has to show just a TaskDialog (see http://msdn.microsoft.com/en-us/library/windows/desktop/bb760540(v=vs.85).aspx ). The TaskDialog should show a ...