Print Page | Close Window

TaskDialog with

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Controls
Forum Description: Topics Related to Codejock Controls
URL: http://forum.codejock.com/forum_posts.asp?TID=13176
Printed Date: 01 May 2024 at 11:40am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: TaskDialog with
Posted By: TShriver
Subject: TaskDialog with
Date 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




Replies:
Posted By: Oleg
Date Posted: 15 January 2009 at 3:55am
Hi,
 
Check our SkinFramework samples


-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS


Posted By: TShriver
Date 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


Posted By: SuperMario
Date 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.


Posted By: TShriver
Date 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
 



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net