Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Toolkit Pro
  New Posts New Posts RSS Feed - Windows 8 Metro Style Skin?
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Windows 8 Metro Style Skin?

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


Joined: 21 June 2010
Status: Offline
Points: 7
Post Options Post Options   Thanks (0) Thanks(0)   Quote BillNew Quote  Post ReplyReply Direct Link To This Post Topic: Windows 8 Metro Style Skin?
    Posted: 16 April 2013 at 6:32pm
Dear Sirs:

Was able to successfully create a small MFC C++ Project using Visual Studio 2005 with just the 5 Radio Buttons for the Skin Changes and an exit program button... using the Skin code from the sample program "Skin Controls" then properly adding in the directory to point to the necessary Header File for the Skins then link in the proper Skin .LIB file.

Was very pleased with the results.

Tried to copy and edit a 6th Skin... which didn't do exactly what we wanted, it proved that the skin used what we did even though it wasn't correct on the color schemes, etc.

Made a duplicate copy of a large existing MFC C++ Visual Studio 2005 project then took the small amount of code from our test Skin Program and merged it into said large project and that had 1 issue that was quickly resolved.

There was a conflict with a Coinitialize function, so the DoDataExchange DDX_Radio function was disabled there and added in 1 line of code at the bottom of the initialization for the main program to call the function to change the skin to the "Vista" Skin then had to make minor adjustments to the On button click for the 5 radio buttons to each call their own function which then passed the selected index to a common routine which then selects the proper skin... Later on we will obviously populate a ComboBox then save / restore the last Skin that was selected / used.

All forms change skins properly based on changing the selected Skin from the Main form.

---

Attempted to use the Skin Editor Builder from V15.3.1 Evaluation of Toolkit Pro.

Made a copy of a skin that was close to what we wanted then tried editing the .INI Files but realized that using the CodeJock Skin Editor loads the data from the skinproj file or the cjstyles file which we cannot directly edit. Tried loading a msstyle file but that crashed the Skin Editor Builder program.

Basically we are looking to make a "Windows 8 Metro" Style Skin which will mimic the look and feel of Windows 8 Metro Style Application without having to rewrite our very large MFC C++ Application.

Having major issues changing the fonts and the colors in the Skin Editor Builder.

Perhaps these would go away / work properly with the Retail Version of this product.

Thanks in advance for any helpful hints,
BillNew
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 (1) Thanks(1)   Quote SuperMario Quote  Post ReplyReply Direct Link To This Post Posted: 17 April 2013 at 12:36pm
See the skin controls sample for 16.1.0
Back to Top
BillNew View Drop Down
Newbie
Newbie


Joined: 21 June 2010
Status: Offline
Points: 7
Post Options Post Options   Thanks (0) Thanks(0)   Quote BillNew Quote  Post ReplyReply Direct Link To This Post Posted: 17 April 2013 at 4:12pm
Thank you for the update.

I see that the new download was added today.

Will check into it.

Thanks again,
BillNew
Back to Top
BillNew View Drop Down
Newbie
Newbie


Joined: 21 June 2010
Status: Offline
Points: 7
Post Options Post Options   Thanks (0) Thanks(0)   Quote BillNew Quote  Post ReplyReply Direct Link To This Post Posted: 17 April 2013 at 6:10pm
Dear Sirs:

The "Windows 8" Style Skin looks nice but what I am trying to mimic is the "Windows 8 Metro" XAML color scheme on the Windows Form not the "Windows 8 Desktop Aero" color scheme.
* Main form - Background color: 29, 29, 29 (1Dh, 1Dh, 1Dh)
* Main Form - Foreground color: 159, 159, 159 (9Fh, 9Fh, 9Fh)

Had to run the "Windows 8" (Desktop Aero) color scheme from 16.1.0 using the 15.3.1 version of the Evaluation for ToolKit Pro.

Installed the demo 16.1.0 version on the same PC as demo 15.3.1 version.

However on 16.1.0 version install, it did not install the 16.1.0 Demo DLL files nor the 16.1.0 Demo LIB files for the new version on a Windows XP as well on Windows 8. (Via the Deployment Wizard.)
* Version 15.3.1 - Only installed the VS 2005 via the Deployment Wizard.
* Version 16.1.0 - Only installed VS 2005 and VS 2012 via the Deployment Wizard.

Hope that helps you resolve the installer issue described above on the 16.1.0 installer.

Thanks,
BillNew
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: 18 April 2013 at 10:09am
Please try again, files should all be uploaded now.
Thanks
Back to Top
BillNew View Drop Down
Newbie
Newbie


Joined: 21 June 2010
Status: Offline
Points: 7
Post Options Post Options   Thanks (0) Thanks(0)   Quote BillNew Quote  Post ReplyReply Direct Link To This Post Posted: 18 April 2013 at 4:49pm
Reran the Toolkit Deployment Wizard and the LIB and DLL files did not install for 16.1.0.

Redownloaded the installer for 16.1.0 then compared it to the file that was downloaded yesterday. The result was that the files are exactly the same.

Any suggestions on how to proceed?

BillNew
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: 19 April 2013 at 9:36am
You have to re-run the installer, not the deployment wizard.  The Installer is the part that downloads the files.  Once finished installing then the Deployment Wizard is launched.  If you have ran the DW then you don't need to run it again.
Back to Top
BillNew View Drop Down
Newbie
Newbie


Joined: 21 June 2010
Status: Offline
Points: 7
Post Options Post Options   Thanks (0) Thanks(0)   Quote BillNew Quote  Post ReplyReply Direct Link To This Post Posted: 19 April 2013 at 3:25pm
Thank you.... That surely fixed the Library Files and the DLL Files getting installed.

Didn't think about your installer doing downloads while the installer is doing its' work.

We write software too but we have not yet had our installers for our program suites download files tied to the product... novel idea.

I really appreciate your help.

Thanks again "SuperMario".

At the present time the CodeJock Skinning code is easily added to existing programs to do the "skinning" in MFC C++. Other than that we had one very minor issue which I described earlier in this thread.

Will play with the editor at a later time.

Now I will pass on the information to my boss to let them make the final decision.

BillNew
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.