Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Toolkit Pro
  New Posts New Posts RSS Feed - Convert all dialogs into Office 2003?
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Convert all dialogs into Office 2003?

 Post Reply Post Reply
Author
Message
mikexyz View Drop Down
Newbie
Newbie
Avatar

Joined: 03 May 2005
Location: United States
Status: Offline
Points: 16
Post Options Post Options   Thanks (0) Thanks(0)   Quote mikexyz Quote  Post ReplyReply Direct Link To This Post Topic: Convert all dialogs into Office 2003?
    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


Edited by mikexyz
Back to Top
SuperMario View Drop Down
Senior Member
Senior Member
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: 03 May 2005 at 7:57pm
Try adding a manifest file to your project.

http://forum.codejock.com/forum_posts.asp?TID=1214&K W=manifest
Back to Top
mikexyz View Drop Down
Newbie
Newbie
Avatar

Joined: 03 May 2005
Location: United States
Status: Offline
Points: 16
Post Options Post Options   Thanks (0) Thanks(0)   Quote mikexyz Quote  Post ReplyReply Direct Link To This Post 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>

===============================================
Back to Top
SuperMario View Drop Down
Senior Member
Senior Member
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: 05 May 2005 at 7:28am
Are you using Windows XP?  This only works on Windows XP.
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.043 seconds.