Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Controls
  New Posts New Posts RSS Feed - TaskDialog with
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

TaskDialog with

 Post Reply Post Reply
Author
Message
TShriver View Drop Down
Groupie
Groupie
Avatar

Joined: 27 July 2008
Location: United States
Status: Offline
Points: 34
Post Options Post Options   Thanks (0) Thanks(0)   Quote TShriver Quote  Post ReplyReply Direct Link To This Post Topic: TaskDialog with
    Posted: 14 January 2009 at 4:22pm
Help... I'm trying to get the TaskDialog to have the same window style as all the other forms in my app.
 
I have an MDI form which uses the following to give me a nice Balck Vista style...
 
CommandBarsGlobalSettings.Office2007Images = App.Path & "\Styles\Office2007Black.dll"
 
I've tried setting the TaskDialog.UseComCtl32 = False and TaskDialog.MessageBoxStyle = True on an XP system and still just get a plain dialog. 
 
What do I need to do?  Below is a screen shot of my problem.
 
Thank you!
 
Tim

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: 15 January 2009 at 3:55am
Hi,
 
Check our SkinFramework samples
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
TShriver View Drop Down
Groupie
Groupie
Avatar

Joined: 27 July 2008
Location: United States
Status: Offline
Points: 34
Post Options Post Options   Thanks (0) Thanks(0)   Quote TShriver Quote  Post ReplyReply Direct Link To This Post Posted: 15 January 2009 at 10:27am
Thank you for your reply. 
 
I looked at the SkinFramework SDI Sample yesterday.  The difference between using the SkinFramework and the CommandBarsGlobalSettings.Office2007Images is that the later uses a DLL to specify the skin whereas the SkinFramework requires all the various skin images to be external to the app and thus giving the user the ability to change these images.
 
So in the end I would be better off using a standard form for my message boxes instead of the TaskDialog and use the command
"frmMDI.CommandBars.EnableOffice2007FrameHandle me.hwnd" to give it the same look and feel.
 
Is this correct?
 
Thanks,
 
Tim
Back to Top
SuperMario View Drop Down
Admin Group
Admin Group
Avatar

Joined: 14 February 2004
Status: Offline
Points: 18057
Post Options Post Options   Thanks (0) Thanks(0)   Quote SuperMario Quote  Post ReplyReply Direct Link To This Post Posted: 15 January 2009 at 2:18pm
Ribbon can't be skinned.  So you must use the supplied Dlls for the ribbon.  For everything else you use the SkinFramework.
Back to Top
TShriver View Drop Down
Groupie
Groupie
Avatar

Joined: 27 July 2008
Location: United States
Status: Offline
Points: 34
Post Options Post Options   Thanks (0) Thanks(0)   Quote TShriver Quote  Post ReplyReply Direct Link To This Post Posted: 15 January 2009 at 2:31pm
Thank you. 
 
I've basically just used the command frmMDI.CommandBars.EnableOffice2007FrameHandle me.hwnd on a dedicated form to handle dialogs.
 
Regards,
 
Tim
 
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.172 seconds.