Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Skin Framework
  New Posts New Posts RSS Feed - Skin problem
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Topic ClosedSkin problem

 Post Reply Post Reply
Author
Message
himanshu View Drop Down
Groupie
Groupie


Joined: 04 January 2008
Status: Offline
Points: 81
Direct Link To This Post Topic: Skin problem
    Posted: 10 March 2008 at 12:33am
Hi 
please find the below image
There seems to have some different colors for form body and title bar when office.cjstyle skin is applied.
Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Direct Link To This Post Posted: 10 March 2008 at 4:29am
Hi,
What control do you use for this frame ?
Check our DockingPane functionality.
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
himanshu View Drop Down
Groupie
Groupie


Joined: 04 January 2008
Status: Offline
Points: 81
Direct Link To This Post Posted: 11 March 2008 at 5:46am
this form is derived from CControlBar class
 
-himanshu
Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Direct Link To This Post Posted: 11 March 2008 at 6:45am
Hi,
Can you attach sample that show it?
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
himanshu View Drop Down
Groupie
Groupie


Joined: 04 January 2008
Status: Offline
Points: 81
Direct Link To This Post Posted: 08 May 2008 at 2:17am
hi
 
i am attaching the sample which need to be build with visual studio2005
title bar is not skinned.put the skin folder inside debug folder once it it built
 
also if you try to create the above
from using createwindow api
this is seen distinctly.
 
please provide the solution
 
thanks
himanshu
Back to Top
himanshu View Drop Down
Groupie
Groupie


Joined: 04 January 2008
Status: Offline
Points: 81
Direct Link To This Post Posted: 08 May 2008 at 2:38am
also the find the images attached
if i drag the form as hown in image2 its title bar color changes as compared to the image1.
 
Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Direct Link To This Post Posted: 08 May 2008 at 4:08am
Hello,
 
Its designed appearance.
 
You can try

m_paneManager.SetThemedFloatingFrames(TRUE);

option.
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
himanshu View Drop Down
Groupie
Groupie


Joined: 04 January 2008
Status: Offline
Points: 81
Direct Link To This Post Posted: 08 May 2008 at 4:42am
hi
 
i tried the below solution.What it doing is not changeing the title bar color even if we drag the form in image2.
 
What i wish to do is image1 title bar should appear as image2 title bar initially as well.
That means without dragging the form in attached image1  title bar should look like the one in image2.
 
thanks
himanshu
Back to Top
himanshu View Drop Down
Groupie
Groupie


Joined: 04 January 2008
Status: Offline
Points: 81
Direct Link To This Post Posted: 09 May 2008 at 12:43am
hi
 
anything for me here?
 
himanshu
Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Direct Link To This Post Posted: 09 May 2008 at 1:30am
Hi,
Its designed appearance.
try some another theme for panes.
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
himanshu View Drop Down
Groupie
Groupie


Joined: 04 January 2008
Status: Offline
Points: 81
Direct Link To This Post Posted: 09 May 2008 at 2:01am
hi
 
i wish to match this skin with the ribbonbar i am using .
 
For ribbonbar application we have aplied ribbon theme which is the only option and the skin that matches this theme is Office2007.cjstyles .
 
so what you are suggesting it is not possible for the pane title bar to look in similar colors when the pane is dragged.
 
anyways what else theme you suggest for this
 
-himanshu
Back to Top
himanshu View Drop Down
Groupie
Groupie


Joined: 04 January 2008
Status: Offline
Points: 81
Direct Link To This Post Posted: 09 May 2008 at 2:05am
the second issue i am facing is for combo boxes
 
is it possible edit the .cjstyle to give support to combo created using
createwindow api.
 
Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Direct Link To This Post Posted: 09 May 2008 at 4:55am
Hi,
In Attached sample I don't see such pane and such ComboBoxes.
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
himanshu View Drop Down
Groupie
Groupie


Joined: 04 January 2008
Status: Offline
Points: 81
Direct Link To This Post Posted: 09 May 2008 at 5:04am

hi

The attached sample in written in MFC and there you can only view differences in the pane title bar color and the pane color.This is one problem.
 
The image which has shown here is of actual application where all the forms(panes) and the controls (buttons on that) are created using SDK programming using "CreateWindow" api .
 
there skin does not apply get apply to buttons on the panes and title bar.
Unfortunately i could not attach code for that
If you could test whether skin get applies to the dilogs and the controls inside that  dilogs created using SDK "createwindow"
 
thanks
himanshu
Back to Top
himanshu View Drop Down
Groupie
Groupie


Joined: 04 January 2008
Status: Offline
Points: 81
Direct Link To This Post Posted: 12 May 2008 at 12:56am

hi

Is there anything possible solution
 
 
Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Direct Link To This Post Posted: 12 May 2008 at 1:02am
Hi,
I'm waiting sample that shows problem.
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
himanshu View Drop Down
Groupie
Groupie


Joined: 04 January 2008
Status: Offline
Points: 81
Direct Link To This Post Posted: 12 May 2008 at 1:56am
hi
 
Unfortunately i could not attach code for the real application and it is difficult to put that in a sample
If you could test whether skin get applies to the dilogs and the controls inside that  dilogs created using SDK "createwindow" it would help
 
Or could i know whether skin get applied to the controls that are created in SDK using CreateWindow apis like dilogs and other ???.
 
 
Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Direct Link To This Post Posted: 12 May 2008 at 3:17am
Hello,
 
I don't understand why you use SDK. If you use SkinFramework - you have deliver MFC. so why you use CreateWindow + Control bar if you already use MFC and can create simple DIalogs and use our Docking Panes instead of some controlbars that has such problem.
 
I tested CreateWindow and it works with SkinFramework. I need exactly your code and styles you have to reproduce this problem.
 
You submited this issue month ago. its not resolved only because you can't find 15 minutes to submit small sample that shows how you create window.
 
 
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
himanshu View Drop Down
Groupie
Groupie


Joined: 04 January 2008
Status: Offline
Points: 81
Direct Link To This Post Posted: 12 May 2008 at 3:28am
hi
 
the application we are working on exists since last two decades and is been programmed in SDK so its the product requirement ...
 
thanks for testing the CreateWindow with SkinFramework it confirms your skinframework work with SDk .
 
Producing exact code of the application into a sample is itself a different project in it ..and apart from that other things were going on in last month
 
Will check again and try to give you the sample.
 
 
Back to Top
himanshu View Drop Down
Groupie
Groupie


Joined: 04 January 2008
Status: Offline
Points: 81
Direct Link To This Post Posted: 13 May 2008 at 5:58am
Hi
 
Just referring to the  communication thread as below
 
Himanshu
also the find the images attached
if i drag the form as hown in image2 its title bar color changes as compared to the image1.
uploads/20080508_023838_images.zip
 
Oleg
Hello,
Its designed appearance.
You can try
m_paneManager.SetThemedFloatingFrames(TRUE);
Himanshu
hi
i tried the below solution.What it doing is not changeing the title bar color even if we drag the form in image2.
What i wish to do is image1 title bar should appear as image2 title bar initially as well.
That means without dragging the form in attached image1  title bar should look like the one in image2.
Oleg
Hi,
Its designed appearance.
try some another theme for panes.
Himanshu
hi
i wish to match this skin with the ribbonbar i am using .
For ribbonbar application we have aplied ribbon theme which is the only option and the skin that matches this theme is Office2007.cjstyles .
so what you are suggesting it is not possible for the pane title bar to look in similar colors when the pane is dragged.
anyways what else theme you suggest for this
 
 
What could be the possible solution for this one
Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Direct Link To This Post Posted: 13 May 2008 at 8:38am
Hi,
 
Lets continue in issuetrack. Send request to support@codejock.com I will send some sample.
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
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.