Questions tagged [taskdialog]

58 questions
1
vote
1 answer

SendMessage with TDM_CLICK_BUTTON return value is always zero

In my C# application I'm trying to use the TDM_CLICK_BUTTON message to click a button in a TaskDialog. This basically works just fine. What I expect to happen, happens. I even receive the TDN_BUTTON_CLICKED notification. But the documentation says,…
Oliver Salzburg
  • 21,652
  • 20
  • 93
  • 138
1
vote
1 answer

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 application to work on windows XP as well, and since…
Sonali Gupta
  • 95
  • 1
  • 7
1
vote
1 answer

TaskDialog default button

stackoverflow just works faster :) I'm using the Windows® API Code Pack for Microsoft® .NET Framework to access Windows 7 API and I want to change my old MessageBox to TaskDialog. One thing I cannot find is the default button of the dialog. Is…
sebagomez
  • 9,501
  • 7
  • 51
  • 89
1
vote
2 answers

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?
David
  • 4,027
  • 10
  • 50
  • 102
1
vote
0 answers

C++ TaskDialog windows seven style

I'm working on the graph part of app, and I need to create a taskdialog box, to warn the user in case of he tries to move a file in a place where there is already this file, like this, on W7: (translation of the buttons: copy and replace, do not…
1
vote
0 answers

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 current loaded in memory. I followed the steps…
1
vote
1 answer

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 TaskDialogCommandLink("btnShowAlternatives", "View…
Chris
  • 175
  • 1
  • 3
  • 17
0
votes
1 answer

Can tdiQuestion be added to TaskDialog.MainIcon?

Can tdiQuestion be added to TaskDialog.MainIcon? Unavailability of the "?" icon in the TaskDialog renders it almost useless. Is there any fix?
Bill Miller
  • 199
  • 4
0
votes
0 answers

Hyperlink in Task Dialog footer to CHM?

I know that I can format a hyperlink like this in the footer area of a task dialog: Revision History But, my application supports local CHM or online HTML. For…
Andrew Truckle
  • 17,769
  • 16
  • 66
  • 164
0
votes
1 answer

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 sized form up screen to show the expanded…
Laurie Stearn
  • 959
  • 1
  • 13
  • 34
0
votes
1 answer

Navigate TaskDialogPage after asynchronous call

I need to navigate a TaskDialogPage to another after an asynchronous operation has completed. Here's my code TaskDialogPage page = new() { //... } TaskDialogPage completedPage = new() { //... } page.Created += async (_, _) => { await…
Scover
  • 93
  • 9
0
votes
1 answer

Error showing TaskDialog with both ProgressBar and Custom Button

I am using the TaskDialog within WindowsAPICodePack. When I try to create a TaskDialog without just a TaskDialogProgressBar and TaskDialogButton it throws the follow exception. System.ComponentModel.Win32Exception was unhandled Message=Invalid…
0
votes
0 answers

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 TASKDIALOGCONFIG structure. Relevant code: …
Jabberwocky
  • 48,281
  • 17
  • 65
  • 115
0
votes
1 answer

TaskDialogIndirect: how to set multi-line buttons

TaskDialogIndirect API has the structure to describe each button. As I see by test on Windows 10, button caption cannot be multi-line (LF or CR LF separated), it will be not rendered OK. Only last line from multi-line string is shown. Can I set…
Prog1020
  • 4,530
  • 8
  • 31
  • 65
0
votes
0 answers

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 there a workaround? Also, if I try to use basic…
Andrew Truckle
  • 17,769
  • 16
  • 66
  • 164