Hello JSW W.,
You can find an implementation of this scenario in the following example in the example application provided with Nevron Vision:
All Examples -> Custom Forms -> Task Dialog Examples - "Progress Dialog... " button.
Regards,
Angel.
Hello
i have another question. i want to show a task dialog but with NO buttons. i set the
dlg.PredefinedButtons = TaskDialogButtons.None
but when i run the programme i still get an OK button showing on the task dialog. how do i stop this OK button from showing?
regards
Bruce.
Hello Bruce,
In NTaskDialog you need to have at least one button, user define or predefined.
To show the dialog without any buttons you can set PredefinedButtons to None and also you can create an user defined button and make it invisible:
NPushButtonElement
buttons[0] =
buttons[0].Visible =
dlg.UserButtons = buttons;
dlg.PredefinedButtons =
hello Angel
OK got it now thnaks for that.
bruce.