Convert all dialogs into Office 2003?
Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Toolkit Pro
Forum Description: Topics Related to Codejock Toolkit Pro
URL: http://forum.codejock.com/forum_posts.asp?TID=2177
Printed Date: 08 November 2025 at 2:23am Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com
Topic: Convert all dialogs into Office 2003?
Posted By: mikexyz
Subject: Convert all dialogs into Office 2003?
Date Posted: 03 May 2005 at 3:20pm
Hello:
I have problem. I create an application that have Office 2003 theme.
The toolbox, menu, and main frame GUI look like Office 2003. When I
create new dialog box, and DoModal(), the dialog appear like OLD style.
I look into Office 2003 GUI, there are sample of WordPad. In the
WordPad project, I see all dialog box have CCSDialog inheritance. I
copy/paste the chicdial.h and chicdial.cpp into my project. I try to
create a dialog that inheritance the CCSDialog dialog box. I still
don't see the Office 2003 dialog apperance. All buttons still appear
like OLD style windows.
What I am missing in the dialog box creation that prevent me from seeing Office 2003 dialog box?
I am trying to create a MDI application. In the menu dispatch, I launch the dialog box on the screen.
Mike
|
Replies:
Posted By: SuperMario
Date Posted: 03 May 2005 at 7:57pm
Try adding a manifest file to your project.
http://forum.codejock.com/forum_posts.asp?TID=1214&KW=manifest - http://forum.codejock.com/forum_posts.asp?TID=1214&K W=manifest
|
Posted By: mikexyz
Date Posted: 04 May 2005 at 5:02pm
Thank you, but I still have problems.
I add the manifest file into my project. The GUI still appear like OLD
style. What I am missing in the Manifest file to convert all old dialog
control into Office 2003 GUI.
============= Here is my Manifest file =============
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
<assemblyIdentity
version="1.0.0.0"
processorArchitecture="X86"
name="Microsoft.Windows.EasyFlowChart"
type="win32"
/>
<description>Easy Flowchart</description>
<dependency>
<dependentAssembly>
<assemblyIdentity
&nbs p; type="win32"
&nbs p; name="Microsoft.Windows.Common-Controls"
&nbs p; version="6.0.0.0"
&nbs p; processorArchitecture="X86"
&nbs p; publicKeyToken="6595b64144ccf1df"
&nbs p; language="*"
/>
</dependentAssembly>
</dependency>
</assembly>
===============================================
|
Posted By: SuperMario
Date Posted: 05 May 2005 at 7:28am
|
Are you using Windows XP? This only works on Windows XP.
|
|