Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Controls
  New Posts New Posts RSS Feed - TaskDialog control buttons not using XP style
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

TaskDialog control buttons not using XP style

 Post Reply Post Reply
Author
Message
Zookeeper View Drop Down
Newbie
Newbie


Joined: 03 April 2008
Location: United States
Status: Offline
Points: 7
Post Options Post Options   Thanks (0) Thanks(0)   Quote Zookeeper Quote  Post ReplyReply Direct Link To This Post Topic: TaskDialog control buttons not using XP style
    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?
Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post Posted: 12 November 2010 at 3:39am
Hi,

You need add manifest to your application (copy from any our sample)
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.188 seconds.