Skip to main content
Filter by
Sorted by
Tagged with
0 votes
0 answers
91 views

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 <...
user541686's user avatar
  • 212k
0 votes
0 answers
247 views

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 ...
Andrew Truckle's user avatar
3 votes
0 answers
96 views

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 ...
Andrew Truckle's user avatar
0 votes
1 answer
113 views

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 ...
Laurie Stearn's user avatar
1 vote
0 answers
172 views

I derive a class from CTaskDialog to implement an AutoCloseButton. HRESULT CMyTaskDialog::OnTimer(_In_ long lTime) { if (GetTickCount() - m_dwStart > (DWORD)m_nTimeout) { ...
Tom Tom's user avatar
  • 1,209
2 votes
1 answer
133 views

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(); ...
Andrew Truckle's user avatar
2 votes
1 answer
178 views

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.
Uli Gerhardt's user avatar
1 vote
1 answer
411 views

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 ...
Trey Thrasher's user avatar
1 vote
1 answer
2k views

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 ...
Gosmith's user avatar
  • 497
0 votes
0 answers
668 views

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 ...
Jabberwocky's user avatar
  • 51.3k
0 votes
0 answers
104 views

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 ...
Andrew Truckle's user avatar
2 votes
1 answer
312 views

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 ...
Andrew Truckle's user avatar
0 votes
0 answers
42 views

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 ...
Dia Sheikh's user avatar
1 vote
0 answers
335 views

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 ...
A9S6's user avatar
  • 6,685
2 votes
1 answer
2k views

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'...
qJake's user avatar
  • 17.2k
0 votes
0 answers
210 views

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 ...
rattler's user avatar
  • 389
2 votes
3 answers
3k views

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 ...
Andrew W. Phillips's user avatar
3 votes
3 answers
1k views

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/...
Ashwin's user avatar
  • 433
3 votes
1 answer
1k views

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....
aybe's user avatar
  • 16.8k
1 vote
1 answer
611 views

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 ...
Sonali Gupta's user avatar
1 vote
2 answers
1k views

I use the Vista TaskDialog Wrapper and Emulator for WindowsForms. It works fine, but how can I change the language of the buttons?
David's user avatar
  • 4,119
1 vote
0 answers
240 views

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 ...
Stefan Over's user avatar
  • 6,086
1 vote
1 answer
455 views

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 ...
Chris's user avatar
  • 175
3 votes
0 answers
511 views

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 ...
Jon Robertson's user avatar
1 vote
2 answers
3k views

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 ...
Alessandro Jacopson's user avatar