TaskDialog control buttons not using XP style |
Post Reply |
Author | |
Zookeeper
Newbie Joined: 03 April 2008 Location: United States Status: Offline Points: 7 |
Post Options
Thanks(0)
Posted: 11 November 2010 at 5:42pm |
I purchased the Xtreme Controls ActiveX package a couple years ago and have been happy with it. But today I tried using the TaskDialog control for the first time and while I generally like it, I can't seem to figure out how to get the pushbuttons on it to display using an XP theme. They always display as square, boxy, Windows 2000 and earlier style. I'm using VB6. Here's some sample code:
With TaskDialog1 .MessageBoxStyle = True .WindowTitle = "Test Title" .MainInstructionText = "Checking button styles" .ContentText = "This dialog is showing old styles" .MainIcon = xtpTaskIconError .AddButton "OK", TaskDialogCommonButtons.xtpTaskButtonOk .ShowDialog End With Any idea why the OK button isn't displayed with an XP or above them? |
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
Hi,
You need add manifest to your application (copy from any our sample)
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |